[SCM] Debian packaging of libcgi-application-dispatch-perl branch, master, updated. upstream/3.07-30-g0ea0d38

Nicholas Bamber nicholas at periapt.co.uk
Sat Nov 26 19:55:28 UTC 2011


The following commit has been merged in the master branch:
commit 765e01dd3a9102cc07c70d5f438dff26a2b2cde1
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date:   Sat Nov 26 19:48:50 2011 +0000

    Added patch fixing 5.14 deprecation of qw(..) without enclosing parentheses where those parentheses are part of statement syntax

diff --git a/debian/changelog b/debian/changelog
index d058900..7165818 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
 libcgi-application-dispatch-perl (3.07-2) UNRELEASED; urgency=low
 
+  [ gregor herrmann ]
   * Remove version from libversion-perl (build) dependency.
 
+  [ Nicholas Bamber ]
+  * Added patch fixing 5.14 deprecation of qw(..) without enclosing
+    parentheses where those parentheses are part of statement syntax
+
  -- gregor herrmann <gregoa at debian.org>  Sat, 26 Nov 2011 16:45:38 +0100
 
 libcgi-application-dispatch-perl (3.07-1) unstable; urgency=low
diff --git a/debian/patches/deprecation.patch b/debian/patches/deprecation.patch
new file mode 100644
index 0000000..cf13450
--- /dev/null
+++ b/debian/patches/deprecation.patch
@@ -0,0 +1,15 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Subject: 5.14 deprecation
+Last-Update: 2011-11-26
+Bug: http://rt.cpan.org/Tickt/Display.html?id=67664
+--- a/lib/CGI/Application/Dispatch.pm
++++ b/lib/CGI/Application/Dispatch.pm
+@@ -792,7 +792,7 @@
+     # setup our args to dispatch()
+     my %args;
+     my $config_args = $r->dir_config();
+-    for my $var qw(DEFAULT PREFIX ERROR_DOCUMENT) {
++    for my $var (qw(DEFAULT PREFIX ERROR_DOCUMENT)) {
+         my $dir_var = "CGIAPP_DISPATCH_$var";
+         $args{lc($var)} = $config_args->{$dir_var}
+           if($config_args->{$dir_var});
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bc8a9d0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+deprecation.patch

-- 
Debian packaging of libcgi-application-dispatch-perl



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