[libparse-keyword-perl] 01/02: Add patch to adjust test to diagnostic messages in newer perl.

gregor herrmann gregoa at debian.org
Sun Oct 25 13:23:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libparse-keyword-perl.

commit 7fd9decbe3ce5f952c7d095b194833f188094661
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Oct 25 14:22:29 2015 +0100

    Add patch to adjust test to diagnostic messages in newer perl.
    
    Closes: #802939
---
 debian/patches/global-symbol-diag.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/global-symbol-diag.patch b/debian/patches/global-symbol-diag.patch
new file mode 100644
index 0000000..4b5ee21
--- /dev/null
+++ b/debian/patches/global-symbol-diag.patch
@@ -0,0 +1,27 @@
+Description: the diagnostic messages changes in perl 5.21.4
+ adjust test to work with old and new messages according to used perl version.
+Origin: vendor
+Bug: https://github.com/doy/parse-keyword/issues/9
+Bug-Debian: https://bugs.debian.org/802939
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-10-25
+
+--- a/t/error.t
++++ b/t/error.t
+@@ -61,10 +61,16 @@
+     is($out, '');
+     is(
+         $err,
++        $^V lt v5.21.4 ?
+         <<'ERR'
+ Global symbol "$baz" requires explicit package name at t/error.pl line 9.
+ Execution of t/error.pl aborted due to compilation errors.
+ ERR
++        :
++        <<'ERR'
++Global symbol "$baz" requires explicit package name (did you forget to declare "my $baz"?) at t/error.pl line 9.
++Execution of t/error.pl aborted due to compilation errors.
++ERR
+     );
+     isnt($exit, 0);
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4d5f6e1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+global-symbol-diag.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libparse-keyword-perl.git



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