[SCM] Debian packaging of libcolor-library-perl branch, master, updated. b3eab2b1d30071595d68310aa21e84ec1ca1063f

gregor herrmann gregoa at debian.org
Fri Nov 25 15:36:19 UTC 2011


The following commit has been merged in the master branch:
commit 3f559515e8046563c586189f9994d71f78cacf08
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Nov 25 16:28:17 2011 +0100

    Add patch deprecated_parentheses.patch: fix qw() usage which throws warnings
    under perl 5.14.

diff --git a/debian/patches/deprecated_parentheses.patch b/debian/patches/deprecated_parentheses.patch
new file mode 100644
index 0000000..9dca0f8
--- /dev/null
+++ b/debian/patches/deprecated_parentheses.patch
@@ -0,0 +1,18 @@
+Description: perl 5.14: Use of qw(...) as parentheses is deprecated ...
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=68650
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=68650
+Author: Tim Heaney <theaney [...] gmail.com>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-11-25
+
+--- a/lib/Color/Library/Color.pm
++++ b/lib/Color/Library/Color.pm
+@@ -98,7 +98,7 @@
+ 
+ =cut
+ 
+-for my $method qw/id name title dictionary html value hex/ {
++for my $method (qw/id name title dictionary html value hex/) {
+     no strict 'refs';
+     my $accessor = "_$method";
+     *$method = sub { return $_[0]->$accessor };
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2632af5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+deprecated_parentheses.patch

-- 
Debian packaging of libcolor-library-perl



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