[packages/perl-Crypt-Blowfish] - rel 3; build fix
arekm
arekm at pld-linux.org
Sun Jun 9 19:51:20 CEST 2013
commit 2951a02c7df7bcc8591c5b8c0ab0d0d61845ba0f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Jun 9 19:51:16 2013 +0200
- rel 3; build fix
build.patch | 12 ++++++++++++
perl-Crypt-Blowfish.spec | 4 +++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/perl-Crypt-Blowfish.spec b/perl-Crypt-Blowfish.spec
index d4a82b0..6413019 100644
--- a/perl-Crypt-Blowfish.spec
+++ b/perl-Crypt-Blowfish.spec
@@ -9,11 +9,12 @@ Summary: Crypt::Blowfish - Perl Blowfish encryption module
Summary(pl.UTF-8): Crypt::Blowfish - moduł Perla dla szyfrowania Blowfish
Name: perl-Crypt-Blowfish
Version: 2.12
-Release: 2
+Release: 3
License: BSD-like (see COPYRIGHT)
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: a0eca17addc8bdaf38c044c365a8800c
+Patch0: build.patch
URL: http://search.cpan.org/dist/Crypt-Blowfish/
%{?with_tests:BuildRequires: perl-Crypt-CBC >= 1.22}
BuildRequires: perl-devel >= 1:5.8.0
@@ -30,6 +31,7 @@ kryptograficznego Blowfish.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
%build
%{__perl} Makefile.PL \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..3cf8c20
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,12 @@
+--- Crypt-Blowfish-2.12/Blowfish.xs~ 2000-11-30 07:25:21.000000000 +0100
++++ Crypt-Blowfish-2.12/Blowfish.xs 2013-06-09 19:49:55.063654083 +0200
+@@ -63,8 +63,7 @@
+ output = sv_newmortal();
+ output_len = 8;
+
+- if (!SvUPGRADE(output, SVt_PV))
+- croak("cannot use output argument as lvalue");
++ SvUPGRADE(output, SVt_PV);
+
+ /* blowfish_crypt_8bytes(input, SvGROW(output, 8), ks, dir); */
+ /* HP-UX (HP cc) fix below, thanks Addi! */
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-Blowfish.git/commitdiff/2951a02c7df7bcc8591c5b8c0ab0d0d61845ba0f
More information about the pld-cvs-commit
mailing list