Please see the reports for full details: o https://rt.cpan.org/Public/Bug/Display.html?id=35680 o https://trac.macports.org/ticket/28318 Fix: Same as in cpan RT: let Locale::gettext re-export the LC_* constants coming from POSIX instead of providing its own XS implementation Patch attached with submission follows: How-To-Repeat: use POSIX qw(:locale_h); use Locale::gettext; $ perl -cw loc.pl Constant subroutine main::LC_CTYPE redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_CTYPE () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Constant subroutine main::LC_NUMERIC redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_NUMERIC () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Constant subroutine main::LC_TIME redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_TIME () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Constant subroutine main::LC_COLLATE redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_COLLATE () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Constant subroutine main::LC_MONETARY redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_MONETARY () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Constant subroutine main::LC_MESSAGES redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_MESSAGES () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Constant subroutine main::LC_ALL redefined at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 Prototype mismatch: sub main::LC_ALL () vs none at /usr/local/lib/perl5/5.10.1/Exporter.pm line 67. at loc.pl line 5 loc.pl syntax OK
Responsible Changed From-To: freebsd-ports-bugs->demon Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Patch committed, thanks!
demon 2011-08-10 11:56:50 UTC FreeBSD ports repository Added files: devel/p5-Locale-gettext/files patch-gettext.pm Log: Import LC_* constants from POSIX module. PR: 158642 Submitted by: Sergey Kandaurov <pluknet@gmail.com> Revision Changes Path 1.1 +10 -0 ports/devel/p5-Locale-gettext/files/patch-gettext.pm (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"