[libcrypt-hcesha-perl] 01/01: added patch (Closes: #789139)

Jonas Genannt jonas at brachium-system.net
Fri Jun 19 18:56:55 UTC 2015


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

hggh-guest pushed a commit to branch master
in repository libcrypt-hcesha-perl.

commit 908c162d59965bfe7d844e82d41a1928946e6f80
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Fri Jun 19 20:47:55 2015 +0200

    added patch (Closes: #789139)
---
 debian/patches/remove_deprecated_defined.patch | 23 +++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/remove_deprecated_defined.patch b/debian/patches/remove_deprecated_defined.patch
new file mode 100644
index 0000000..9609c8b
--- /dev/null
+++ b/debian/patches/remove_deprecated_defined.patch
@@ -0,0 +1,23 @@
+Author: Jonas Genannt <genannt at debian.org>
+Description: removed deprecated defined in Perl 5.22 (Closes: #789139)
+
+--- a/test.pl
++++ b/test.pl
+@@ -186,7 +186,7 @@
+ 	    last if ($_ eq '+END_OF_LIST');
+ 	    push @response, $_;
+ 	};
+-	if (!defined(@response)) {
++	if (!@response) {
+ 	    return;
+ 	} else {
+ 	    return @response;
+@@ -202,7 +202,7 @@
+ 	    last if ($dec_data eq "+END_OF_LIST");
+ 	    push @response, $dec_data;
+ 	};
+-	if (!defined(@response)) {
++	if (!@response) {
+ 	    return;
+ 	} else {
+ 	    return @response;
diff --git a/debian/patches/series b/debian/patches/series
index 3175d99..d3f4851 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 use-Digest-SHA.patch
+remove_deprecated_defined.patch

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



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