[SCM] Debian packaging of libcgi-application-plugin-viewcode-perl branch, master, updated. ce1e6200add63ab0d3dd46a9e53fc3de0dec045f
gregor herrmann
gregoa at debian.org
Sat May 25 00:33:32 UTC 2013
The following commit has been merged in the master branch:
commit 1d73ef277dc6998ecff8d3043334f4278d4525c5
Author: gregor herrmann <gregoa at debian.org>
Date: Sat May 25 02:28:37 2013 +0200
Add patch to put qw() literal under parentheses.
Closes: #709681
diff --git a/debian/patches/qw-as-parens.patch b/debian/patches/qw-as-parens.patch
new file mode 100644
index 0000000..336fffb
--- /dev/null
+++ b/debian/patches/qw-as-parens.patch
@@ -0,0 +1,19 @@
+Description: using qw() as parentheses is a fatal error now
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=73317
+Bug-Debian: http://bugs.debian.org/709681
+Forwarded: not needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-05-25
+
+--- a/lib/CGI/Application/Plugin/ViewCode.pm
++++ b/lib/CGI/Application/Plugin/ViewCode.pm
+@@ -176,7 +176,7 @@
+ my $query = $self->query;
+
+ my %options;
+- foreach my $opt qw(highlight line_no pod) {
++ foreach my $opt (qw(highlight line_no pod)) {
+ if( defined $query->param($opt) ) {
+ $options{$opt} = $query->param($opt);
+ } else {
diff --git a/debian/patches/series b/debian/patches/series
index 68dcb6b..a076c3b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
ds-pod.patch
+qw-as-parens.patch
--
Debian packaging of libcgi-application-plugin-viewcode-perl
More information about the Pkg-perl-cvs-commits
mailing list