[libnagios-plugin-perl] 01/08: Add patch to fix "defined(%hash)" error.
gregor herrmann
gregoa at debian.org
Sat Jun 20 00:44:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libnagios-plugin-perl.
commit 1832eaf25ad62c79c503bbf4210878ae0c195fc9
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jun 20 02:38:03 2015 +0200
Add patch to fix "defined(%hash)" error.
Closes: #789343
---
debian/patches/defined-hash.patch | 17 +++++++++++++++++
debian/patches/series | 1 +
2 files changed, 18 insertions(+)
diff --git a/debian/patches/defined-hash.patch b/debian/patches/defined-hash.patch
new file mode 100644
index 0000000..da11a31
--- /dev/null
+++ b/debian/patches/defined-hash.patch
@@ -0,0 +1,17 @@
+Description: fix "Can't use 'defined(%hash)'"
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=103190
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=103190
+Bug-Debian: https://bugs.debian.org/789343
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+
+--- a/t/Nagios-Plugin-Functions-01.t
++++ b/t/Nagios-Plugin-Functions-01.t
+@@ -19,7 +19,7 @@
+ is(get_shortname, "NAGIOS-PLUGIN-FUNCTIONS-01", "get_shortname ok");
+
+ # Hardcoded checks of constants
+-ok(defined %ERRORS, '%ERRORS defined');
++ok(%ERRORS, '%ERRORS defined');
+ is(OK, $ERRORS{OK}, "OK => $ERRORS{OK}");
+ is(WARNING, $ERRORS{WARNING}, "WARNING => $ERRORS{WARNING}");
+ is(CRITICAL, $ERRORS{CRITICAL}, "CRITICAL => $ERRORS{CRITICAL}");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8520d9b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+defined-hash.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnagios-plugin-perl.git
More information about the Pkg-perl-cvs-commits
mailing list