diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2014-12-13 23:32:33 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2014-12-13 23:33:07 +1100 |
commit | 2e330ed11ea844af3a68bb223e3705fe8f1816e9 (patch) | |
tree | 27048c671a4ef8aa5c31273ae098144235691c2d /p5-locale-gettext | |
parent | b228cf1a83f4ac2e399653e812570b31dbfdee39 (diff) | |
download | contrib-2e330ed11ea844af3a68bb223e3705fe8f1816e9.tar.gz contrib-2e330ed11ea844af3a68bb223e3705fe8f1816e9.tar.xz |
p5-locale-gettext: posix patch and update footprint
Diffstat (limited to 'p5-locale-gettext')
-rw-r--r-- | p5-locale-gettext/.footprint | 16 | ||||
-rw-r--r-- | p5-locale-gettext/.md5sum | 1 | ||||
-rw-r--r-- | p5-locale-gettext/Pkgfile | 10 | ||||
-rw-r--r-- | p5-locale-gettext/compatibility-with-POSIX-module.patch | 10 |
4 files changed, 25 insertions, 12 deletions
diff --git a/p5-locale-gettext/.footprint b/p5-locale-gettext/.footprint index fd0dba562..a2ab2e18f 100644 --- a/p5-locale-gettext/.footprint +++ b/p5-locale-gettext/.footprint @@ -2,14 +2,14 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/perl5/ drwxr-xr-x root/root usr/lib/perl5/site_perl/ -drwxr-xr-x root/root usr/lib/perl5/site_perl/5.16/ -drwxr-xr-x root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/ -drwxr-xr-x root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/Locale/ --r--r--r-- root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/Locale/gettext.pm -drwxr-xr-x root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/auto/ -drwxr-xr-x root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/auto/Locale/ -drwxr-xr-x root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/auto/Locale/gettext/ --r-xr-xr-x root/root usr/lib/perl5/site_perl/5.16/linux-thread-multi/auto/Locale/gettext/gettext.so +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.18/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/Locale/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/Locale/gettext.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/auto/Locale/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/auto/Locale/gettext/ +-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.18/linux-thread-multi/auto/Locale/gettext/gettext.so drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man3/ -r--r--r-- root/root usr/man/man3/Locale::gettext.3pm.gz diff --git a/p5-locale-gettext/.md5sum b/p5-locale-gettext/.md5sum index c9e4e15aa..b3acd4a51 100644 --- a/p5-locale-gettext/.md5sum +++ b/p5-locale-gettext/.md5sum @@ -1 +1,2 @@ +854302f34d01a2f8ae739187788973dd compatibility-with-POSIX-module.patch f3d3f474a1458f37174c410dfef61a46 gettext-1.05.tar.gz diff --git a/p5-locale-gettext/Pkgfile b/p5-locale-gettext/Pkgfile index c66458798..b230969b8 100644 --- a/p5-locale-gettext/Pkgfile +++ b/p5-locale-gettext/Pkgfile @@ -1,5 +1,5 @@ # Description: Locale::gettext - Interface to C library functions for internatialization. -# URL: http://search.cpan.org/~pvandry/gettext-1.05/ +# URL: http://search.cpan.org/dist/gettext/ # Maintainer: Danny Rawlins, crux at romster dot me # Packager: bashy, ronny kornexl at online de # Depends on: @@ -7,12 +7,15 @@ name=p5-locale-gettext version=1.05 -release=2 -source=(http://www.perl.com/CPAN/authors/id/PVANDRY/gettext-$version.tar.gz) +release=3 +source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-$version.tar.gz + compatibility-with-POSIX-module.patch) build() { cd gettext-$version + patch -p1 -i $SRC/compatibility-with-POSIX-module.patch + perl Makefile.PL make OPTIMIZE="$CFLAGS" make DESTDIR=$PKG install @@ -27,4 +30,3 @@ build() { # Remove empty directories find $PKG -depth -empty -exec rm -rf {} \; } - diff --git a/p5-locale-gettext/compatibility-with-POSIX-module.patch b/p5-locale-gettext/compatibility-with-POSIX-module.patch new file mode 100644 index 000000000..ad675516b --- /dev/null +++ b/p5-locale-gettext/compatibility-with-POSIX-module.patch @@ -0,0 +1,10 @@ +--- a/gettext.pm 2005-05-31 20:11:16.000000000 -0700 ++++ b/gettext.pm 2009-10-07 12:39:42.000000000 -0700 +@@ -32,6 +32,7 @@ + =cut + + use Carp; ++use POSIX qw(:locale_h); + + require Exporter; + require DynaLoader; |