Bug#479803: liblocale-gettext-perl: defines LC_* slightly differently from Perl 5.10's POSIX.pm

Raphael Hertzog hertzog at debian.org
Wed May 7 08:12:16 UTC 2008


On Tue, 06 May 2008, Aaron M. Ucko wrote:
> Upon upgrading to Perl 5.10, I started seeing warning messages from
> pdbv's cron job, which I tracked down to a (nominal?) incompatibility
> between Locale::gettext and POSIX:

Indeed, I'm going to upload a fixed package with this patch:

--- liblocale-gettext-perl-1.05.orig/gettext.pm	2008-05-07 09:40:23.000000000 +0200
+++ liblocale-gettext-perl-1.05/gettext.pm	2008-05-07 09:41:04.000000000 +0200
@@ -32,6 +32,7 @@
 =cut
 
 use Carp;
+use POSIX qw(:locale_h);
 
 require Exporter;
 require DynaLoader;


That way Locale::Gettext will simple re-export the constants coming from
POSIX.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/





More information about the pkg-perl-maintainers mailing list