diff options
author | root <root@rshg054.dnsready.net> | 2013-05-27 00:29:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-27 00:29:16 -0700 |
commit | b4ca83da72ffb5800852339f6efe5a59c16e9f94 (patch) | |
tree | 3ed149ced423d2629e0b3a71f0b1e2cf3f6ced70 /community/perl-crypt-blowfish | |
parent | 99ee54f2484aadc464e997e54aa9c7ca7ecde198 (diff) |
Mon May 27 00:29:16 PDT 2013
Diffstat (limited to 'community/perl-crypt-blowfish')
-rw-r--r-- | community/perl-crypt-blowfish/PKGBUILD | 19 | ||||
-rw-r--r-- | community/perl-crypt-blowfish/perl-5.18.patch | 13 |
2 files changed, 28 insertions, 4 deletions
diff --git a/community/perl-crypt-blowfish/PKGBUILD b/community/perl-crypt-blowfish/PKGBUILD index 780a82008..726c0ee4f 100644 --- a/community/perl-crypt-blowfish/PKGBUILD +++ b/community/perl-crypt-blowfish/PKGBUILD @@ -1,21 +1,32 @@ -# $Id: PKGBUILD 71757 2012-06-02 10:29:42Z bluewind $ +# $Id: PKGBUILD 91659 2013-05-26 09:24:50Z bluewind $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Charles Mauch <cmauch@gmail.com> pkgname=perl-crypt-blowfish pkgver=2.12 -pkgrel=5 +pkgrel=6 pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish" arch=("i686" "x86_64") url="http://search.cpan.org/dist/Crypt-Blowfish" license=("GPL" "PerlArtistic") -source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz") -md5sums=('a0eca17addc8bdaf38c044c365a8800c') +source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz" + "perl-5.18.patch") +md5sums=('a0eca17addc8bdaf38c044c365a8800c' + '700129e690f239f9c1a318fffd3504c7') + +prepare() { + cd $srcdir/Crypt-Blowfish-$pkgver + patch -p1 <$srcdir/perl-5.18.patch +} build() { cd $srcdir/Crypt-Blowfish-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make +} + +package() { + cd $srcdir/Crypt-Blowfish-$pkgver make pure_install doc_install DESTDIR=$pkgdir find $pkgdir -name '.packlist' -delete find $pkgdir -name '*.pod' -delete diff --git a/community/perl-crypt-blowfish/perl-5.18.patch b/community/perl-crypt-blowfish/perl-5.18.patch new file mode 100644 index 000000000..291733cb9 --- /dev/null +++ b/community/perl-crypt-blowfish/perl-5.18.patch @@ -0,0 +1,13 @@ +diff -wbBur Crypt-Blowfish-2.12.org/Blowfish.xs Crypt-Blowfish-2.12/Blowfish.xs +--- Crypt-Blowfish-2.12.org/Blowfish.xs 2000-11-30 09:25:21.000000000 +0300 ++++ Crypt-Blowfish-2.12/Blowfish.xs 2013-05-20 15:31:52.481940353 +0400 +@@ -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! */ |