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 <gre...@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: to...@cpan.org
+Reviewed-by: gregor herrmann <gre...@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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to