[SCM] Debian packaging of libapache-asp-perl branch, master, updated. 14e3fcdacdb969335770d05f5d29723d8bf338a2

Florian Schlichting fschlich at zedat.fu-berlin.de
Thu Mar 8 00:11:07 UTC 2012


The following commit has been merged in the master branch:
commit 485403c0ce0792e380c18217640d899c41a78428
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Thu Mar 8 00:59:14 2012 +0100

    added silence_test_warnings.patch

diff --git a/debian/changelog b/debian/changelog
index 0231b22..8035090 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,7 +9,7 @@ libapache-asp-perl (2.62-1) UNRELEASED; urgency=low
   * Refreshed patches, forwarded pod.patch.
   * Added a doc-base registration file (closes: #451731).
   * Added editor syntax highlighting extensions to examples.
-  * Added spelling2.patch.
+  * Added spelling2.patch, silence_test_warnings.patch.
 
  -- Florian Schlichting <fschlich at zedat.fu-berlin.de>  Wed, 07 Mar 2012 18:38:28 +0100
 
diff --git a/debian/patches/series b/debian/patches/series
index affbe44..dd8a8f1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 spelling.patch
 pod.patch
 spelling2.patch
+silence_test_warnings.patch
diff --git a/debian/patches/silence_test_warnings.patch b/debian/patches/silence_test_warnings.patch
new file mode 100644
index 0000000..0dee9b3
--- /dev/null
+++ b/debian/patches/silence_test_warnings.patch
@@ -0,0 +1,16 @@
+Description: fix "uninitialized value $rv" warnings during tests
+ ...apparently, ASP usually runs without warnings enabled...
+Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=75617
+
+--- a/ASP.pm
++++ b/ASP.pm
+@@ -2015,7 +2015,7 @@
+ 
+ sub get_dir_config {
+     my $rv = shift->get(shift);
+-    if(lc($rv) eq 'off') {
++    if(defined($rv) && lc($rv) eq 'off') {
+ 	$rv = 0; # Off always becomes 0
+     }
+     $rv;

-- 
Debian packaging of libapache-asp-perl



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