[libapache2-reload-perl] 01/06: Add patch from mod_perl upstream to fix build failure with Perl 5.20.
gregor herrmann
gregoa at debian.org
Thu Jul 17 21:54:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libapache2-reload-perl.
commit 1a7e8c3e64cd583d7cd7c4525ea31a5f7de07562
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Jul 17 23:49:08 2014 +0200
Add patch from mod_perl upstream to fix build failure with Perl 5.20.
Thanks: Niko Tyni for digging out the patch.
Closes: #754999
---
...t-as-per-r1565579.-Reported-in-CPAN-RT-96.patch | 28 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 29 insertions(+)
diff --git a/debian/patches/0002-Fix-reload.t-as-per-r1565579.-Reported-in-CPAN-RT-96.patch b/debian/patches/0002-Fix-reload.t-as-per-r1565579.-Reported-in-CPAN-RT-96.patch
new file mode 100644
index 0000000..46adb01
--- /dev/null
+++ b/debian/patches/0002-Fix-reload.t-as-per-r1565579.-Reported-in-CPAN-RT-96.patch
@@ -0,0 +1,28 @@
+From e2dba731a20ae4866c2a10e42282f8b25993383e Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at debian.org>
+Date: Tue, 15 Jul 2014 21:20:06 +0300
+Subject: [PATCH 2/2] Fix reload.t as per r1565579. Reported in CPAN RT#96656.
+
+Author: Steve Hay <steve.m.hay at googlemail.com>
+Origin: upstream, http://svn.apache.org/viewvc?view=revision&revision=1605020
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=96656
+---
+ Apache-Reload/t/lib/Apache2/TestReload.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Apache-Reload/t/lib/Apache2/TestReload.pm b/Apache-Reload/t/lib/Apache2/TestReload.pm
+index 65f0f04..aa4215f 100644
+--- a/t/lib/Apache2/TestReload.pm
++++ b/t/lib/Apache2/TestReload.pm
+@@ -15,7 +15,7 @@ our $pass = 0;
+ sub handler {
+ my $r = shift;
+ $pass++;
+- if ($r->args eq 'last') {
++ if (defined $r->args and $r->args eq 'last') {
+ Apache2::Reload->unregister_module($package);
+ ModPerl::Util::unload_package($package);
+ $pass = 0;
+--
+2.0.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f5f7408
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0002-Fix-reload.t-as-per-r1565579.-Reported-in-CPAN-RT-96.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-reload-perl.git
More information about the Pkg-perl-cvs-commits
mailing list