Commit 1a27add6 authored by Timo Teräs's avatar Timo Teräs

main/perl-crypt-des: upgrade to 2.07

parent d92216e1
# Maintainer: Jeff Bilyk <jbilyk@gmail.com>
pkgname=perl-crypt-des
_pkgreal=Crypt-DES
pkgver=2.05
pkgrel=2
pkgver=2.07
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Crypt-DES/"
arch="all"
......@@ -13,7 +13,7 @@ depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/$_pkgreal-$pkgver.tar.gz
svupgrade.patch"
"
_builddir="$srcdir/$_pkgreal-$pkgver"
......@@ -38,9 +38,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="a8a0bea7064e11d2af434f3e468c17bb Crypt-DES-2.05.tar.gz
9b421edb0638fa417fd5b77c5e53ff7b svupgrade.patch"
sha256sums="b7be9e4113eea37554a33c4d738a9226662c3ee53a5f0f281e1b1974569822f0 Crypt-DES-2.05.tar.gz
7c011781f70bfdf1d03f7b26db174ef711480f8671144a9f1fa8d154c8d6864d svupgrade.patch"
sha512sums="006b7299351389ab3ca71f082cb4f12e33aad45e1c06e5394ffef618ddc0d28d14431abd90c23be6e2a86cd2ca34ae70fb6b72dd613d17421b5427e13e405532 Crypt-DES-2.05.tar.gz
1fca98a8cd79d5db2f6ce91824ec852d9cf44b642b84562388f6e419f00327679a9af8656eaf813382477eb5e3b3dca646fb49dfe02f6ba79c6e17acd2cce710 svupgrade.patch"
md5sums="e845d24cf383ca4a30a3380a2735feac Crypt-DES-2.07.tar.gz"
sha256sums="2db1ebb5837b4cb20051c0ee5b733b4453e3137df0a92306034c867621edd7e7 Crypt-DES-2.07.tar.gz"
sha512sums="95d40280850290fb2f9b2f26be2f47f2241e0aeeb842bd02c56d667062d65b3b65b9a87c045cbee50604f95f8a0d0b033c92334520de19022decaf77f77c7678 Crypt-DES-2.07.tar.gz"
--- a/DES.xs 2005-12-08 15:52:50.000000000 +0000
+++ b/DES.xs 2013-03-13 15:02:29.000000000 +0000
@@ -64,8 +64,7 @@
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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment