Ticket #28318: patch-cpan-rt-35680-2.diff

File patch-cpan-rt-35680-2.diff, 837 bytes (added by l2g@…, 13 years ago)

Additional diff for the port's patch phase

  • liblocale-gettext-perl-1.05

    Locale::Gettext exports by default the various LC_* constants as does the
    POSIX perl module. Up to perl-5.10, their definition was strictly the same
    and didn't cause any harm. Now the POSIX module evolved slightly and the
    symbol redefinition are conflictual and
    generate warnings.
    
    Resolve this by making sure that Locale::Gettext reexports the constants
    coming from the POSIX module.
    
    Fixes Debian bug #479803.
    
     -- Raphael Hertzog <hertzog@debian.org>
    
    old new  
    3232=cut
    3333
    3434use Carp;
     35use POSIX qw(:locale_h);
    3536
    3637require Exporter;
    3738require DynaLoader;