perl-Text-Bidi: update to 2.13.

This commit is contained in:
maxice8 2018-09-23 13:30:06 -03:00
parent 5df3ae6497
commit e473a29934
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 5 additions and 52 deletions

View File

@ -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))

View File

@ -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 <void.directorx@protonmail.com>"
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"