[SCM] Debian packaging of libcrypt-blowfish-perl branch, master, updated. 5c2d4a52b54efd3351ba82042aa79dddf9bf40ac

gregor herrmann gregoa at debian.org
Fri May 17 18:52:12 UTC 2013


The following commit has been merged in the master branch:
commit 7c75cd791aead420a4e670d47fd70de7f09b0d7e
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri May 17 20:45:42 2013 +0200

    Add patch from CPAN RT to fix build failure with Perl 5.18.
    
    Closes: #708467

diff --git a/debian/patches/series b/debian/patches/series
index 3d4fe6b..1a19f47 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 blowfish_make_bfkey.patch
+svupgrade.patch
diff --git a/debian/patches/svupgrade.patch b/debian/patches/svupgrade.patch
new file mode 100644
index 0000000..576d328
--- /dev/null
+++ b/debian/patches/svupgrade.patch
@@ -0,0 +1,23 @@
+Description: SvUPGRADE usage change
+ SvUPGRADE() can't be used as a truth-value expression in current perl. It
+ never actually returned false, so there's no need for the conditional.
+Origin: CPAN RT
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=83924
+Bug-Debian: http://bugs.debian.org/708467
+Forwarded: not-needed
+Author: zefram [...] fysh.org
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-05-17
+
+--- a/Blowfish.xs
++++ b/Blowfish.xs
+@@ -63,8 +63,7 @@
+ 			output = sv_newmortal();
+ 		output_len = 8;
+ 
+-		if (!SvUPGRADE(output, SVt_PV))
+-			croak("cannot use output argument as lvalue");
++		(void) SvUPGRADE(output, SVt_PV);
+ 
+ 		/* blowfish_crypt_8bytes(input, SvGROW(output, 8), ks, dir); */
+ 		/* HP-UX (HP cc) fix below, thanks Addi! */

-- 
Debian packaging of libcrypt-blowfish-perl



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