[libunix-configfile-perl] 01/04: Add patch from CPAN RT to fix "defined(@array)" warning/error.

gregor herrmann gregoa at debian.org
Sun Jun 21 13:46:31 UTC 2015


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

gregoa pushed a commit to branch master
in repository libunix-configfile-perl.

commit a487448a31a932ea8fa250f2b507e1516856d442
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jun 21 15:25:02 2015 +0200

    Add patch from CPAN RT to fix "defined(@array)" warning/error.
    
    Closes: #789470
---
 debian/patches/defined-array.patch | 22 ++++++++++++++++++++++
 debian/patches/series              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/defined-array.patch b/debian/patches/defined-array.patch
new file mode 100644
index 0000000..29322fc
--- /dev/null
+++ b/debian/patches/defined-array.patch
@@ -0,0 +1,22 @@
+Description: fix "defined(@array)" error
+Origin: CPAN RT
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=103189
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=103189
+Bug-Debian: https://bugs.debian.org/789470
+Author: TONYC at cpan.org
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-06-21
+
+diff -ru Unix-ConfigFile-0.06-p7qUjC/AliasFile.pm Unix-ConfigFile-0.06-2t7dzt/AliasFile.pm
+--- Unix-ConfigFile-0.06-p7qUjC/AliasFile.pm	2000-05-03 01:50:43.000000000 +1000
++++ Unix-ConfigFile-0.06-2t7dzt/AliasFile.pm	2015-03-30 15:20:00.000000000 +1100
+@@ -213,7 +213,7 @@
+ 	}
+ 	my $name = $1;
+ 	my @users = $this->alias($name);
+-	next if !defined @users;
++	next if !@users;
+ 	print $fh $this->joinwrap(80, "$name: ", "\t", ",", ",", @users), "\n"
+ 		or return 0;
+     }
+Only in Unix-ConfigFile-0.06-2t7dzt/: AliasFile.pm~
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fe54ca1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+defined-array.patch

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



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