[SCM] Debian packaging of libunicode-string-perl branch, master, updated. debian/2.09-5

Salvatore Bonaccorso carnil at debian.org
Mon Jan 30 23:04:44 UTC 2012


The following commit has been merged in the master branch:
commit fa1aa98573d57c50a5a2459a2ea9ba7f684d8648
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun Jan 29 10:18:41 2012 +0100

    Add fix-defined-hash-deprecation-warning.patch patch
    
    Fix 'defined(%hash) is deprecated' warning.
    
    Thanks: Justin B Rye <jbr at edlug.org.uk> for the patch
    Closes: #657144

diff --git a/debian/patches/fix-defined-hash-deprecation-warning.patch b/debian/patches/fix-defined-hash-deprecation-warning.patch
new file mode 100644
index 0000000..94d1791
--- /dev/null
+++ b/debian/patches/fix-defined-hash-deprecation-warning.patch
@@ -0,0 +1,20 @@
+Description: Fix deprecation warning caused by defined(%hash) use
+Origin: vendor
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=74354
+Bug-Debian: http://bugs.debian.org/657144
+Forwarded: yes
+Author: Justin B Rye <jbr at edlug.org.uk>
+Reviewed-by: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2012-01-29
+
+--- a/lib/Unicode/CharName.pm
++++ b/lib/Unicode/CharName.pm
+@@ -77,7 +77,7 @@
+ 	    return join("", "HANGUL SYLLABLE ", @s)
+ 	}
+     }
+-    _init_names() unless defined %NAMES;
++    _init_names() unless %NAMES;
+     $NAMES{sprintf("%04X",$code)}
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..df87c1a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-defined-hash-deprecation-warning.patch

-- 
Debian packaging of libunicode-string-perl



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