Bug 158642 - [patch] devel/p5-Locale-gettext: LC_* dub/conflict with from POSIX.pm
Summary: [patch] devel/p5-Locale-gettext: LC_* dub/conflict with from POSIX.pm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 17:20 UTC by pluknet
Modified: 2011-08-10 13:00 UTC (History)
0 users

See Also:


Attachments
file.diff (211 bytes, patch)
2011-07-04 17:20 UTC, pluknet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pluknet 2011-07-04 17:20:09 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-07-04 17:20:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->demon

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dmitry Sivachenko freebsd_committer freebsd_triage 2011-08-10 12:57:00 UTC
State Changed
From-To: open->closed

Patch committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-08-10 12:57:02 UTC
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"