From b4ca83da72ffb5800852339f6efe5a59c16e9f94 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 May 2013 00:29:16 -0700 Subject: Mon May 27 00:29:16 PDT 2013 --- community/perl-crypt-des/perl-5.18.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/perl-crypt-des/perl-5.18.patch (limited to 'community/perl-crypt-des/perl-5.18.patch') diff --git a/community/perl-crypt-des/perl-5.18.patch b/community/perl-crypt-des/perl-5.18.patch new file mode 100644 index 000000000..16e5aac85 --- /dev/null +++ b/community/perl-crypt-des/perl-5.18.patch @@ -0,0 +1,13 @@ +diff -wbBur Crypt-DES-2.05.org/DES.xs Crypt-DES-2.05/DES.xs +--- Crypt-DES-2.05.org/DES.xs 2005-12-08 18:52:50.000000000 +0300 ++++ Crypt-DES-2.05/DES.xs 2013-05-20 15:35:58.668612530 +0400 +@@ -64,8 +64,7 @@ + output = sv_newmortal(); + output_len = 8; + +- if (!SvUPGRADE(output, SVt_PV)) +- croak("cannot use output argument as lvalue"); ++ SvUPGRADE(output, SVt_PV); + + perl_des_crypt(input, SvGROW(output, output_len), (i32 *)ks, enc_flag); + -- cgit v1.2.3-54-g00ecf