diff options
author | root <root@rshg054.dnsready.net> | 2012-04-12 00:01:12 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-12 00:01:12 +0000 |
commit | ab7a55e53fc209fd3cf355db3dc0d9b5a6685298 (patch) | |
tree | b5d6947959dbeee822a6582493d6cef36fd126d4 /extra/crypto++/PKGBUILD | |
parent | 8119da2eaadf53531cad2aed70981ed4606340d6 (diff) |
Thu Apr 12 00:01:12 UTC 2012
Diffstat (limited to 'extra/crypto++/PKGBUILD')
-rw-r--r-- | extra/crypto++/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD index c1869b9de..8cebe45ec 100644 --- a/extra/crypto++/PKGBUILD +++ b/extra/crypto++/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 143721 2011-11-28 17:06:53Z giovanni $ +# $Id: PKGBUILD 155988 2012-04-10 20:46:54Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Alexander Rødseth <rodseth@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> @@ -8,7 +8,7 @@ pkgname=crypto++ pkgver=5.6.1 _srcver=561 -pkgrel=3 +pkgrel=4 pkgdesc="A free C++ class library of cryptographic schemes" arch=('i686' 'x86_64') url="http://www.cryptopp.com/" @@ -16,13 +16,18 @@ license=('custom') depends=('gcc-libs') makedepends=('unzip') source=("http://www.cryptopp.com/cryptopp${_srcver}.zip" - 'libcrypto++.pc') + 'libcrypto++.pc' + 'gcc4.7.patch') md5sums=('96cbeba0907562b077e26bcffb483828' - '2337c6edbc552d9142cae8e0854715e7') + '2337c6edbc552d9142cae8e0854715e7' + 'cf26a783d9432e7f9ab7f14d3db3f196') build() { cd ${srcdir} + # Fix gcc 4.7 build + patch -Np1 -i "${srcdir}/gcc4.7.patch" + sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC" make -f GNUmakefile |