r19602 - in /trunk/liblocale-gettext-perl/debian: changelog patches/compatibility-with-POSIX-module.diff patches/series

hertzog at users.alioth.debian.org hertzog at users.alioth.debian.org
Wed May 7 07:55:19 UTC 2008


Author: hertzog
Date: Wed May  7 07:55:18 2008
New Revision: 19602

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19602
Log:
New patch debian/patches/compatibility-with-POSIX-module.diff so that
Locale::Gettext re-exports the LC_* constants coming from POSIX instead
of those coming from its own XS implementation. Closes: #479803

Added:
    trunk/liblocale-gettext-perl/debian/patches/compatibility-with-POSIX-module.diff
Modified:
    trunk/liblocale-gettext-perl/debian/changelog
    trunk/liblocale-gettext-perl/debian/patches/series

Modified: trunk/liblocale-gettext-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-gettext-perl/debian/changelog?rev=19602&op=diff
==============================================================================
--- trunk/liblocale-gettext-perl/debian/changelog (original)
+++ trunk/liblocale-gettext-perl/debian/changelog Wed May  7 07:55:18 2008
@@ -6,6 +6,9 @@
     script/module using Locale::Gettext (still) work once this module
     has been unpacked. This is particulary important for transitions like
     perl-5.8 -> perl-5.10 (see #479220 for example).
+  * New patch debian/patches/compatibility-with-POSIX-module.diff so that
+    Locale::Gettext re-exports the LC_* constants coming from POSIX instead
+    of those coming from its own XS implementation. Closes: #479803
 
  -- Raphael Hertzog <hertzog at debian.org>  Wed, 07 May 2008 08:54:51 +0200
 

Added: trunk/liblocale-gettext-perl/debian/patches/compatibility-with-POSIX-module.diff
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-gettext-perl/debian/patches/compatibility-with-POSIX-module.diff?rev=19602&op=file
==============================================================================
--- trunk/liblocale-gettext-perl/debian/patches/compatibility-with-POSIX-module.diff (added)
+++ trunk/liblocale-gettext-perl/debian/patches/compatibility-with-POSIX-module.diff Wed May  7 07:55:18 2008
@@ -1,0 +1,25 @@
+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 at debian.org>
+
+Index: liblocale-gettext-perl-1.05/gettext.pm
+===================================================================
+--- 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;

Modified: trunk/liblocale-gettext-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-gettext-perl/debian/patches/series?rev=19602&op=diff
==============================================================================
--- trunk/liblocale-gettext-perl/debian/patches/series (original)
+++ trunk/liblocale-gettext-perl/debian/patches/series Wed May  7 07:55:18 2008
@@ -1,1 +1,2 @@
 doc-update.diff
+compatibility-with-POSIX-module.diff




More information about the Pkg-perl-cvs-commits mailing list