components/perl_modules/gettext/patches/001-compatibility-with-POSIX-module.patch
changeset 4802 62e47da66002
equal deleted inserted replaced
4801:c249904bb056 4802:62e47da66002
       
     1 Debian Bug report logs - #479803
       
     2 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479803
       
     3 
       
     4 liblocale-gettext-perl: defines LC_* slightly differently from Perl 5.10's
       
     5 POSIX.pm
       
     6 
       
     7 New patch debian/patches/compatibility-with-POSIX-module.diff so that
       
     8 Locale::Gettext re-exports the LC_* constants coming from POSIX instead
       
     9 of those coming from its own XS implementation.
       
    10 
       
    11 --- gettext-1.05/gettext.pm.orig	2015-05-14 09:06:58.288075712 -0700
       
    12 +++ gettext-1.05/gettext.pm	2015-05-14 09:07:23.772010237 -0700
       
    13 @@ -32,6 +32,7 @@
       
    14  =cut
       
    15  
       
    16  use Carp;
       
    17 +use POSIX qw(:locale_h);
       
    18  
       
    19  require Exporter;
       
    20  require DynaLoader;