diff options
author | obache <obache@pkgsrc.org> | 2013-06-01 04:47:03 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-06-01 04:47:03 +0000 |
commit | 544594c0c160d11b23778b49d6b0378789d5dbe6 (patch) | |
tree | f82ca3bd895131270752b7090a720319583e7d2c /security | |
parent | 92f97d442fe724ee9ea0af7fb6a0a0ddf8fce952 (diff) | |
download | pkgsrc-544594c0c160d11b23778b49d6b0378789d5dbe6.tar.gz |
Fixes build failure with perl-5.18.
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Crypt-DES/distinfo | 3 | ||||
-rw-r--r-- | security/p5-Crypt-DES/patches/patch-DES.xs | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/security/p5-Crypt-DES/distinfo b/security/p5-Crypt-DES/distinfo index 510dc3bb80f..3947a9bb939 100644 --- a/security/p5-Crypt-DES/distinfo +++ b/security/p5-Crypt-DES/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2006/02/12 02:26:08 heinz Exp $ +$NetBSD: distinfo,v 1.5 2013/06/01 04:47:03 obache Exp $ SHA1 (Crypt-DES-2.05.tar.gz) = 4fce77a1f776ede8e7251af1af42f505f0e31515 RMD160 (Crypt-DES-2.05.tar.gz) = 26fb3c923f236f6d42236cf9c40209767bbf0a35 Size (Crypt-DES-2.05.tar.gz) = 15369 bytes +SHA1 (patch-DES.xs) = dc5f44bd541651991afe8d3b3a3aaa5a332d73d3 diff --git a/security/p5-Crypt-DES/patches/patch-DES.xs b/security/p5-Crypt-DES/patches/patch-DES.xs new file mode 100644 index 00000000000..921caba9828 --- /dev/null +++ b/security/p5-Crypt-DES/patches/patch-DES.xs @@ -0,0 +1,17 @@ +$NetBSD: patch-DES.xs,v 1.1 2013/06/01 04:47:03 obache Exp $ + +* fixes for perl>=5.17.8 + https://rt.cpan.org/Public/Bug/Display.html?id=82943 + +--- DES.xs.orig 2005-12-08 15:52:50.000000000 +0000 ++++ DES.xs +@@ -64,8 +64,7 @@ _des_crypt(input, output, ks, enc_flag) + output = sv_newmortal(); + output_len = 8; + +- if (!SvUPGRADE(output, SVt_PV)) +- croak("cannot use output argument as lvalue"); ++ (void) SvUPGRADE(output, SVt_PV); + + perl_des_crypt(input, SvGROW(output, output_len), (i32 *)ks, enc_flag); + |