[libpod-pom-perl] 01/04: added patch to fix warning shown when loading this module (Closes: #776547)

dod at debian.org dod at debian.org
Sat May 23 15:08:26 UTC 2015


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

dod pushed a commit to branch master
in repository libpod-pom-perl.

commit cc7ac06f54d9e744ddcfc1cd2aabd389a8d781ba
Author: Dominique Dumont <dod at debian.org>
Date:   Sat May 23 16:58:35 2015 +0200

    added patch to fix warning shown when loading this module (Closes: #776547)
---
 debian/patches/fix-typo-warning | 16 ++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/fix-typo-warning b/debian/patches/fix-typo-warning
new file mode 100644
index 0000000..8d7e0fa
--- /dev/null
+++ b/debian/patches/fix-typo-warning
@@ -0,0 +1,16 @@
+Description: Fix typo warning
+ Declare an empty @ATTRIBS array to avoid warnings 
+ that appears when this module is used. Weirdly 
+ enough, this warning does not show up in tests 
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776547
+Author: dod
+--- a/lib/Pod/POM/Node/Pod.pm
++++ b/lib/Pod/POM/Node/Pod.pm
+@@ -28,6 +28,7 @@
+ 
+ use parent qw( Pod::POM::Node );
+ 
++our @ATTRIBS = ();
+ our @ACCEPT = qw( head1 head2 head3 head4 over begin for text verbatim code );
+ 
+ 1;
diff --git a/debian/patches/series b/debian/patches/series
index ff95871..4c84341 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix-typo-warning
 whatis-entries

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



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