r46805 - in /trunk/libgnupg-interface-perl/debian: changelog patches/fix-gnupg-options-copy.patch patches/series

diocles-guest at users.alioth.debian.org diocles-guest at users.alioth.debian.org
Fri Nov 6 00:20:29 UTC 2009


Author: diocles-guest
Date: Fri Nov  6 00:19:45 2009
New Revision: 46805

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46805
Log:
debian/patches/fix-gnupg-options-copy.patch: New patch. (Closes: #549743)

Added:
    trunk/libgnupg-interface-perl/debian/patches/fix-gnupg-options-copy.patch
Modified:
    trunk/libgnupg-interface-perl/debian/changelog
    trunk/libgnupg-interface-perl/debian/patches/series

Modified: trunk/libgnupg-interface-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnupg-interface-perl/debian/changelog?rev=46805&op=diff
==============================================================================
--- trunk/libgnupg-interface-perl/debian/changelog (original)
+++ trunk/libgnupg-interface-perl/debian/changelog Fri Nov  6 00:19:45 2009
@@ -1,3 +1,10 @@
+libgnupg-interface-perl (0.42-2) UNRELEASED; urgency=low
+
+  * debian/patches/fix-gnupg-options-copy.patch: New patch to fix copy
+    method of GnuPG::Options. Fixes FTBFS. (Closes: #549743)
+
+ -- Tim Retout <tim at retout.co.uk>  Fri, 06 Nov 2009 00:11:42 +0000
+
 libgnupg-interface-perl (0.42-1) unstable; urgency=low
 
   [ gregor herrmann ]

Added: trunk/libgnupg-interface-perl/debian/patches/fix-gnupg-options-copy.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnupg-interface-perl/debian/patches/fix-gnupg-options-copy.patch?rev=46805&op=file
==============================================================================
--- trunk/libgnupg-interface-perl/debian/patches/fix-gnupg-options-copy.patch (added)
+++ trunk/libgnupg-interface-perl/debian/patches/fix-gnupg-options-copy.patch Fri Nov  6 00:19:45 2009
@@ -1,0 +1,18 @@
+Description: Fix copy method of GnuPG::Options.
+ The result of not checking for definedness here is to never copy the
+ meta_immutable value successfully (as that is true by default).  This led
+ to a FTBFS when running non-interactively.
+Author: Tim Retout <tim at retout.co.uk>
+Bug-Debian: http://bugs.debian.org/549743
+
+--- a/lib/GnuPG/Options.pm
++++ b/lib/GnuPG/Options.pm
+@@ -97,7 +97,7 @@
+ 
+     foreach my $field ( BOOLEANS, SCALARS, LISTS ) {
+         my $value = $self->$field();
+-        next unless $value;
++        next unless defined $value;
+         $new->$field($value);
+     }
+ 

Modified: trunk/libgnupg-interface-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgnupg-interface-perl/debian/patches/series?rev=46805&op=diff
==============================================================================
--- trunk/libgnupg-interface-perl/debian/patches/series (original)
+++ trunk/libgnupg-interface-perl/debian/patches/series Fri Nov  6 00:19:45 2009
@@ -1,1 +1,2 @@
 fix-gnupg-options-pod-errors.patch
+fix-gnupg-options-copy.patch




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