From e473a2993434ffd9cc82afd27dfccc0422cac2ef Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 23 Sep 2018 13:30:06 -0300 Subject: [PATCH] perl-Text-Bidi: update to 2.13. --- .../patches/fribidi-type-fix.patch | 47 ------------------- srcpkgs/perl-Text-Bidi/template | 10 ++-- 2 files changed, 5 insertions(+), 52 deletions(-) delete mode 100644 srcpkgs/perl-Text-Bidi/patches/fribidi-type-fix.patch diff --git a/srcpkgs/perl-Text-Bidi/patches/fribidi-type-fix.patch b/srcpkgs/perl-Text-Bidi/patches/fribidi-type-fix.patch deleted file mode 100644 index 557ad18177e..00000000000 --- a/srcpkgs/perl-Text-Bidi/patches/fribidi-type-fix.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- private.c.orig 2018-01-16 19:16:59.014506195 +0100 -+++ private.c 2018-01-16 19:21:35.115406026 +0100 -@@ -2389,7 +2389,7 @@ - *_global_p_len = (FriBidiStrIndex)(size1/sizeof(FriBidiCharType)); - arg1 = (FriBidiCharType *)(buf1); - -- result = fribidi_get_par_direction((fribidi_uint32 const *)arg1,arg2); -+ result = fribidi_get_par_direction((uint32_t const *)arg1,arg2); - ST(argvi) = SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((unsigned long)(result)); argvi++ ; - - -@@ -2455,7 +2455,7 @@ - Newx(*temp4, ((*_global_p_len) + 1), FriBidiLevel); - - _saved[0] = ST(1); -- result = (FriBidiLevel)fribidi_get_par_embedding_levels((fribidi_uint32 const *)arg1,arg2,arg3,arg4); -+ result = (FriBidiLevel)fribidi_get_par_embedding_levels((uint32_t const *)arg1,arg2,arg3,arg4); - ST(argvi) = SWIG_From_signed_SS_char SWIG_PERL_CALL_ARGS_1((signed char)(result)); argvi++ ; - if (SWIG_IsTmpObj(res3)) { - if (argvi >= items) EXTEND(sp,1); ST(argvi) = SWIG_From_unsigned_SS_long SWIG_PERL_CALL_ARGS_1((*arg3)); argvi++ ; -@@ -2555,7 +2555,7 @@ - Newx(*temp6, ((*_global_p_len) + 1), FriBidiLevel); - - _saved[0] = ST(5); -- result = (FriBidiLevel)fribidi_reorder_line(arg1,(fribidi_uint32 const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); -+ result = (FriBidiLevel)fribidi_reorder_line(arg1,(uint32_t const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8); - ST(argvi) = SWIG_From_signed_SS_char SWIG_PERL_CALL_ARGS_1((signed char)(result)); argvi++ ; - - // printf("Pushing into arg6\n"); -@@ -2629,7 +2629,7 @@ - - _saved[0] = ST(1); - _saved[1] = ST(2); -- fribidi_join_arabic((fribidi_uint32 const *)arg1,arg2,(signed char const *)arg3,arg4); -+ fribidi_join_arabic((uint32_t const *)arg1,arg2,(signed char const *)arg3,arg4); - ST(argvi) = sv_newmortal(); - - -@@ -2894,7 +2894,7 @@ - - _saved[0] = ST(5); - _saved[1] = ST(6); -- result = (FriBidiLevel)reorder_map(arg1,(fribidi_uint32 const *)arg2,arg3,arg4,arg5,arg6,arg7); -+ result = (FriBidiLevel)reorder_map(arg1,(uint32_t const *)arg2,arg3,arg4,arg5,arg6,arg7); - ST(argvi) = SWIG_From_signed_SS_char SWIG_PERL_CALL_ARGS_1((signed char)(result)); argvi++ ; - - MXPUSHUA(arg6, (*_global_p_len)) diff --git a/srcpkgs/perl-Text-Bidi/template b/srcpkgs/perl-Text-Bidi/template index f6f14bde4c4..f9c052b592e 100644 --- a/srcpkgs/perl-Text-Bidi/template +++ b/srcpkgs/perl-Text-Bidi/template @@ -1,18 +1,18 @@ # Template file for 'perl-Text-Bidi' pkgname=perl-Text-Bidi -version=2.12 -revision=6 +version=2.13 +revision=1 wrksrc="${pkgname#*-}-${version}" build_style=perl-module -hostmakedepends="perl" +hostmakedepends="perl swig" makedepends="perl fribidi-devel perl-ExtUtils-PkgConfig" depends="perl" short_desc="Text::Bidi - Unicode bidi algorithm using libfribidi" maintainer="DirectorX " homepage="https://metacpan.org/release/Text-Bidi" license="Artistic-1.0-Perl, GPL-1.0-or-later" -distfiles="$CPAN_SITE/Text/Text-Bidi-${version}.tar.gz" -checksum=72e700cc4e7f48eb479989cc9d38362d24c58ea6fb1e0fe3390a832903943fa7 +distfiles="${CPAN_SITE}/Text/Text-Bidi-${version}.tar.gz" +checksum=c4d07c67546332550b28478ac9c71c1c4759ff65c8088cefa014155aa3ce3009 urxvt-bidi_package() { depends="${sourcepkg}>=${version}_${revision} rxvt-unicode"