Bug#626897: debdiff for libnet-xmpp-perl version 1.02-3

Florian Schlichting fschlich at ZEDAT.FU-Berlin.DE
Sun Nov 4 20:38:04 UTC 2012


this is the debdiff for libnet-xmpp-perl version 1.02-2 to 1.02-3

Florian


diff -Nru libnet-xmpp-perl-1.02/debian/changelog libnet-xmpp-perl-1.02/debian/changelog
--- libnet-xmpp-perl-1.02/debian/changelog      2011-12-13 23:18:49.000000000 +0100
+++ libnet-xmpp-perl-1.02/debian/changelog      2012-11-04 21:30:25.000000000 +0100
@@ -1,3 +1,11 @@
+libnet-xmpp-perl (1.02-3) unstable; urgency=low
+
+  * Team upload.
+  * Add 626897_check-definedness-of-hash-key-before-use.patch to silence an
+    irritating warning in current versions of Perl (closes: #626897).
+
+ -- Florian Schlichting <fschlich at zedat.fu-berlin.de>  Sun, 04 Nov 2012 21:30:22 +0100
+
 libnet-xmpp-perl (1.02-2) unstable; urgency=low
 
   [ gregor herrmann ]
diff -Nru libnet-xmpp-perl-1.02/debian/patches/626897_check-definedness-of-hash-key-before-use.patch libnet-xmpp-perl-1.02/debian/patches/626897_check-definedness-of-hash-key-before-use.patch
--- libnet-xmpp-perl-1.02/debian/patches/626897_check-definedness-of-hash-key-before-use.patch  1970-01-01 01:00:00.000000000 +0100
+++ libnet-xmpp-perl-1.02/debian/patches/626897_check-definedness-of-hash-key-before-use.patch  2012-11-04 21:26:36.000000000 +0100
@@ -0,0 +1,18 @@
+Description: Check definedness of hash key before use
+ An annoying warning is emitted since Perl 5.12, revealing sloppy coding.
+Origin: http://github.com/dap/Net-XMPP /commit/2d1164d7c50d7c034f3d1e fb03ad9319b24dfd24
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=58333
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626897
+Reviewed-by: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+
+--- a/lib/Net/XMPP/Debug.pm
++++ b/lib/Net/XMPP/Debug.pm
+@@ -151,7 +151,7 @@
+     my %args;
+     while($#_ >= 0) { $args{ lc pop(@_) } = pop(@_); }
+ 
+-    delete($args{file}) if (lc($args{file}) eq "stdout");
++    delete($args{file}) if (defined $args{file} && lc($args{file}) eq "stdout");
+ 
+     $args{time} = 0 if !exists($args{time});
+     $args{setdefault} = 0 if !exists($args{setdefault});
diff -Nru libnet-xmpp-perl-1.02/debian/patches/series libnet-xmpp-perl-1.02/debian/patches/series
--- libnet-xmpp-perl-1.02/debian/patches/series 2011-12-13 23:18:49.000000000 +0100
+++ libnet-xmpp-perl-1.02/debian/patches/series 2012-11-04 21:17:32.000000000 +0100
@@ -1,3 +1,4 @@
 disable_networking_tests.patch
 digest-sha.patch
 spelling.patch
+626897_check-definedness-of-hash-key-before-use.patch



More information about the pkg-perl-maintainers mailing list