diff options
author | haad <haad@pkgsrc.org> | 2010-11-23 13:53:53 +0000 |
---|---|---|
committer | haad <haad@pkgsrc.org> | 2010-11-23 13:53:53 +0000 |
commit | c57e7170954a7ca30a39050834b8d4746ba1d504 (patch) | |
tree | f8baefee6cc4a4e762ebf5b6bd74953ce988326a /devel/p5-gettext | |
parent | 39ddc94733f2c7b61f6ddc8187577a9eec572de8 (diff) | |
download | pkgsrc-c57e7170954a7ca30a39050834b8d4746ba1d504.tar.gz |
Add small patch which fixes problem with p5-gettext described in
http://rt.cpan.org/Public/Bug/Display.html?id=35680
Diffstat (limited to 'devel/p5-gettext')
-rw-r--r-- | devel/p5-gettext/Makefile | 4 | ||||
-rw-r--r-- | devel/p5-gettext/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-gettext/patches/patch-aa | 27 |
3 files changed, 31 insertions, 3 deletions
diff --git a/devel/p5-gettext/Makefile b/devel/p5-gettext/Makefile index efd02680fdd..7ee5d73441a 100644 --- a/devel/p5-gettext/Makefile +++ b/devel/p5-gettext/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.20 2010/08/21 16:34:46 seb Exp $ +# $NetBSD: Makefile,v 1.21 2010/11/23 13:53:53 haad Exp $ # DISTNAME= gettext-1.05 PKGNAME= p5-${DISTNAME} -PKGREVISION= 4 +PKGREVISION= 5 SVR4_PKGNAME= p5gtx CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/} diff --git a/devel/p5-gettext/distinfo b/devel/p5-gettext/distinfo index 68634868ed1..2b075970b24 100644 --- a/devel/p5-gettext/distinfo +++ b/devel/p5-gettext/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/10/25 13:23:52 wiz Exp $ +$NetBSD: distinfo,v 1.5 2010/11/23 13:53:53 haad Exp $ SHA1 (gettext-1.05.tar.gz) = 705f519ad61b4a8c522d8aaf98425e0bd21709f2 RMD160 (gettext-1.05.tar.gz) = 767adfce05b8fe77ddd7d3814951822746cf6e4b Size (gettext-1.05.tar.gz) = 7693 bytes +SHA1 (patch-aa) = 70b38ba8d332f42e2097c8b58b408ca023387247 diff --git a/devel/p5-gettext/patches/patch-aa b/devel/p5-gettext/patches/patch-aa new file mode 100644 index 00000000000..2e760686c65 --- /dev/null +++ b/devel/p5-gettext/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1 2010/11/23 13:53:54 haad Exp $ +Fix problem with gettext definition of LC_* variables. See +code below as example of warning. + +perl -MLocale::gettext -MPOSIX -e '' +Prototype mismatch: sub main::LC_ALL: none vs () at -e line 0 +Prototype mismatch: sub main::LC_NUMERIC: none vs () at -e line 0 +Prototype mismatch: sub main::LC_TIME: none vs () at -e line 0 +Prototype mismatch: sub main::LC_MONETARY: none vs () at -e line 0 +Prototype mismatch: sub main::LC_CTYPE: none vs () at -e line 0 +Prototype mismatch: sub main::LC_MESSAGES: none vs () at -e line 0 +Prototype mismatch: sub main::LC_COLLATE: none vs () at -e line 0 + +Prblem fixed with patch from + +http://rt.cpan.org/Public/Bug/Display.html?id=35680 + +--- gettext.pm.orig 2005-06-01 03:11:16.000000000 +0000 ++++ gettext.pm +@@ -32,6 +32,7 @@ to internationalize software. + =cut + + use Carp; ++use POSIX qw(:locale_h); + + require Exporter; + require DynaLoader; |