Tue Nov 23 13:56:31 2010 UTC ()
Fix typo in comment.


(wiz)
diff -r1.5 -r1.6 pkgsrc/devel/p5-gettext/distinfo
diff -r1.1 -r1.2 pkgsrc/devel/p5-gettext/patches/patch-aa

cvs diff -r1.5 -r1.6 pkgsrc/devel/p5-gettext/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-gettext/distinfo 2010/11/23 13:53:53 1.5
+++ pkgsrc/devel/p5-gettext/distinfo 2010/11/23 13:56:31 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2010/11/23 13:53:53 haad Exp $ 1$NetBSD: distinfo,v 1.6 2010/11/23 13:56:31 wiz Exp $
2 2
3SHA1 (gettext-1.05.tar.gz) = 705f519ad61b4a8c522d8aaf98425e0bd21709f2 3SHA1 (gettext-1.05.tar.gz) = 705f519ad61b4a8c522d8aaf98425e0bd21709f2
4RMD160 (gettext-1.05.tar.gz) = 767adfce05b8fe77ddd7d3814951822746cf6e4b 4RMD160 (gettext-1.05.tar.gz) = 767adfce05b8fe77ddd7d3814951822746cf6e4b
5Size (gettext-1.05.tar.gz) = 7693 bytes 5Size (gettext-1.05.tar.gz) = 7693 bytes
6SHA1 (patch-aa) = 70b38ba8d332f42e2097c8b58b408ca023387247 6SHA1 (patch-aa) = 8e21c59da8f6e983d3ba94ad7550ae1d9fa48b01

cvs diff -r1.1 -r1.2 pkgsrc/devel/p5-gettext/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/devel/p5-gettext/patches/Attic/patch-aa 2010/11/23 13:53:54 1.1
+++ pkgsrc/devel/p5-gettext/patches/Attic/patch-aa 2010/11/23 13:56:31 1.2
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1$NetBSD: patch-aa,v 1.1 2010/11/23 13:53:54 haad Exp $ 1$NetBSD: patch-aa,v 1.2 2010/11/23 13:56:31 wiz Exp $
2Fix problem with gettext definition of LC_* variables. See  2Fix problem with gettext definition of LC_* variables. See
3code below as example of warning.  3code below as example of warning.
4 4
5perl -MLocale::gettext -MPOSIX -e '' 5perl -MLocale::gettext -MPOSIX -e ''
6Prototype mismatch: sub main::LC_ALL: none vs () at -e line 0 6Prototype mismatch: sub main::LC_ALL: none vs () at -e line 0
7Prototype mismatch: sub main::LC_NUMERIC: none vs () at -e line 0 7Prototype mismatch: sub main::LC_NUMERIC: none vs () at -e line 0
8Prototype mismatch: sub main::LC_TIME: none vs () at -e line 0 8Prototype mismatch: sub main::LC_TIME: none vs () at -e line 0
9Prototype mismatch: sub main::LC_MONETARY: none vs () at -e line 0 9Prototype mismatch: sub main::LC_MONETARY: none vs () at -e line 0
10Prototype mismatch: sub main::LC_CTYPE: none vs () at -e line 0 10Prototype mismatch: sub main::LC_CTYPE: none vs () at -e line 0
11Prototype mismatch: sub main::LC_MESSAGES: none vs () at -e line 0 11Prototype mismatch: sub main::LC_MESSAGES: none vs () at -e line 0
12Prototype mismatch: sub main::LC_COLLATE: none vs () at -e line 0 12Prototype mismatch: sub main::LC_COLLATE: none vs () at -e line 0
13 13
14Prblem fixed with patch from  14Problem fixed with patch from
15 15
16http://rt.cpan.org/Public/Bug/Display.html?id=35680 16http://rt.cpan.org/Public/Bug/Display.html?id=35680
17 17
18--- gettext.pm.orig 2005-06-01 03:11:16.000000000 +0000 18--- gettext.pm.orig 2005-06-01 03:11:16.000000000 +0000
19+++ gettext.pm 19+++ gettext.pm
20@@ -32,6 +32,7 @@ to internationalize software. 20@@ -32,6 +32,7 @@ to internationalize software.
21 =cut 21 =cut
22  22
23 use Carp; 23 use Carp;
24+use POSIX qw(:locale_h); 24+use POSIX qw(:locale_h);
25  25
26 require Exporter; 26 require Exporter;
27 require DynaLoader; 27 require DynaLoader;