From e2bd3138438cd8ebfc126c9fb67871e568116cf7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 6 Feb 2013 10:44:00 +0100 Subject: [PATCH] New package: perl-Locale-gettext-1.05. --- .../patches/compatibility-with-POSIX-module.patch | 10 ++++++++++ srcpkgs/perl-Locale-gettext/template | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 srcpkgs/perl-Locale-gettext/patches/compatibility-with-POSIX-module.patch create mode 100644 srcpkgs/perl-Locale-gettext/template diff --git a/srcpkgs/perl-Locale-gettext/patches/compatibility-with-POSIX-module.patch b/srcpkgs/perl-Locale-gettext/patches/compatibility-with-POSIX-module.patch new file mode 100644 index 00000000000..9248d52c53b --- /dev/null +++ b/srcpkgs/perl-Locale-gettext/patches/compatibility-with-POSIX-module.patch @@ -0,0 +1,10 @@ +--- gettext.pm 2005-05-31 20:11:16.000000000 -0700 ++++ 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; diff --git a/srcpkgs/perl-Locale-gettext/template b/srcpkgs/perl-Locale-gettext/template new file mode 100644 index 00000000000..1984cf93ac7 --- /dev/null +++ b/srcpkgs/perl-Locale-gettext/template @@ -0,0 +1,13 @@ +# Template build file for 'perl-Locale-gettext'. +pkgname=perl-Locale-gettext +version=1.05 +revision=1 +wrksrc="gettext-$version" +build_style=perl-module +fulldepends="perl>=5.16" +short_desc="Permits access from Perl to the gettext() family of functions" +maintainer="davehome " +homepage="http://search.cpan.org/dist/gettext" +license="GPL-2" +distfiles="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-${version}.tar.gz" +checksum=27367f3dc1be79c9ed178732756e37e4cfce45f9e2a27ebf26e1f40d80124694