diff options
author | obache <obache@pkgsrc.org> | 2013-06-01 11:49:07 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-06-01 11:49:07 +0000 |
commit | cde4fc627d353c94a37427df6b2947725d6d6e25 (patch) | |
tree | bc9d430ec792c0f2f61665a616d8e3eec43c43b4 /security | |
parent | 3564590b0385a445a536bc356fcf32cc8f9a7bc8 (diff) | |
download | pkgsrc-cde4fc627d353c94a37427df6b2947725d6d6e25.tar.gz |
fixes build with perl-5.18.
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Crypt-Blowfish/distinfo | 3 | ||||
-rw-r--r-- | security/p5-Crypt-Blowfish/patches/patch-Blowfish.xs | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/security/p5-Crypt-Blowfish/distinfo b/security/p5-Crypt-Blowfish/distinfo index 037d52305d8..6adf1ddfbe5 100644 --- a/security/p5-Crypt-Blowfish/distinfo +++ b/security/p5-Crypt-Blowfish/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2010/03/08 15:15:57 sno Exp $ +$NetBSD: distinfo,v 1.7 2013/06/01 11:49:07 obache Exp $ SHA1 (Crypt-Blowfish-2.12.tar.gz) = d4712fc05559f8b6aef9d901e115bba2cd368a5f RMD160 (Crypt-Blowfish-2.12.tar.gz) = 6ebc9fd880b6f18c9f9ea5e20e4da10a04a53a6e Size (Crypt-Blowfish-2.12.tar.gz) = 17895 bytes +SHA1 (patch-Blowfish.xs) = 65b930bdbf8e9cb9c43746f1ae8742024145a2be diff --git a/security/p5-Crypt-Blowfish/patches/patch-Blowfish.xs b/security/p5-Crypt-Blowfish/patches/patch-Blowfish.xs new file mode 100644 index 00000000000..eb6904422e7 --- /dev/null +++ b/security/p5-Crypt-Blowfish/patches/patch-Blowfish.xs @@ -0,0 +1,17 @@ +$NetBSD: patch-Blowfish.xs,v 1.1 2013/06/01 11:49:07 obache Exp $ + +* SvUPGRADE usage change for perl>=5.18 + https://rt.cpan.org/Public/Bug/Display.html?id=83924 + +--- Blowfish.xs.orig 2000-11-30 06:25:21.000000000 +0000 ++++ Blowfish.xs +@@ -63,8 +63,7 @@ blowfish_crypt(input, output, ks, dir) + 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! */ |