[arch-commits] Commit in perl-locale-gettext/trunk (2 files)
Giovanni Scafora
giovanni at archlinux.org
Wed Oct 7 10:50:33 UTC 2009
Date: Wednesday, October 7, 2009 @ 06:50:33
Author: giovanni
Revision: 54225
Added:
perl-locale-gettext/trunk/compatibility-with-POSIX-module.patch
Modified:
perl-locale-gettext/trunk/PKGBUILD
---------------------------------------+
PKGBUILD | 11 +++++++----
compatibility-with-POSIX-module.patch | 10 ++++++++++
2 files changed, 17 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-07 10:43:23 UTC (rev 54224)
+++ PKGBUILD 2009-10-07 10:50:33 UTC (rev 54225)
@@ -5,18 +5,21 @@
pkgname=perl-locale-gettext
_realname=gettext
pkgver=1.05
-pkgrel=4
+pkgrel=5
pkgdesc="Permits access from Perl to the gettext() family of functions."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('gettext' 'perl>=5.10.0')
options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz)
-md5sums=('f3d3f474a1458f37174c410dfef61a46')
+source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz
+ compatibility-with-POSIX-module.patch)
+md5sums=('f3d3f474a1458f37174c410dfef61a46'
+ '854302f34d01a2f8ae739187788973dd')
build() {
cd "${srcdir}/${_realname}-${pkgver}" || return 1
+ patch -Np1 -i ${srcdir}/compatibility-with-POSIX-module.patch || return 1
# install module in vendor directories.
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make MAN1EXT=1p MAN3EXT=3pm || return 1
Added: compatibility-with-POSIX-module.patch
===================================================================
--- compatibility-with-POSIX-module.patch (rev 0)
+++ compatibility-with-POSIX-module.patch 2009-10-07 10:50:33 UTC (rev 54225)
@@ -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;
More information about the arch-commits
mailing list