--- ./debian/patches/compatibility-with-POSIX-module.diff~ +++ ./debian/patches/compatibility-with-POSIX-module.diff @@ -0,0 +1,23 @@ +Description: Re-export LC_* constants of the POSIX module + 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. +Bug: http://rt.cpan.org/Public/Bug/Display.html?id=35680 +Bug-Debian: http://bugs.debian.org/479803 +Author: Raphaƫl Hertzog +Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479803#20 + +--- a/gettext.pm ++++ b/gettext.pm +@@ -32,6 +32,7 @@ to internationalize software. + =cut + + use Carp; ++use POSIX qw(:locale_h); + + require Exporter; + require DynaLoader;