extra/crypto++: fix patching

This commit is contained in:
Kevin Mihelich 2012-05-14 20:27:18 -04:00
parent af3cec86ef
commit db99927fd6

View file

@ -28,7 +28,7 @@ source=("http://www.cryptopp.com/cryptopp${_srcver}.zip"
md5sums=('96cbeba0907562b077e26bcffb483828'
'2337c6edbc552d9142cae8e0854715e7'
'31489843fb50d5ea2250855098f87983'
'cf26a783d9432e7f9ab7f14d3db3f196')
'8d454c524bafc05aa842ddfc63d8431d')
build() {
cd ${srcdir}
@ -37,7 +37,7 @@ build() {
patch -p0 -i fix_build_system.patch
# Fix gcc 4.7 build
patch -Np1 -i "${srcdir}/gcc4.7.patch"
patch -Np1 -F3 -i "${srcdir}/gcc4.7.patch"
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"