]> git.pld-linux.org Git - packages/perl-Crypt-Blowfish.git/commitdiff
- rel 3; build fix auto/th/perl-Crypt-Blowfish-2.12-3
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 9 Jun 2013 17:51:16 +0000 (19:51 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 9 Jun 2013 17:51:16 +0000 (19:51 +0200)
build.patch [new file with mode: 0644]
perl-Crypt-Blowfish.spec

diff --git a/build.patch b/build.patch
new file mode 100644 (file)
index 0000000..3cf8c20
--- /dev/null
@@ -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! */
index d4a82b022b72fed0a72513050cadc0fc047df1a9..6413019050b6536916245aec271a8f7bd1eb6454 100644 (file)
@@ -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 \
This page took 0.034179 seconds and 4 git commands to generate.