author | Pierre Schmitz
<pierre@archlinux.org> 2013-02-15 11:55:50 UTC |
committer | Pierre Schmitz
<pierre@archlinux.org> 2013-02-15 11:55:50 UTC |
parent | 81dcee3c9239d476a8f3b1555f9c094f22643806 |
PKGBUILD | +6 | -3 |
gcc47.patch | +17 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index d677bf8..3e5cbb6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,17 +3,20 @@ pkgname=qca pkgver=2.0.3 -pkgrel=2 +pkgrel=3 pkgdesc="Qt Cryptographic Architecture" arch=('i686' 'x86_64') url="http://delta.affinix.com/qca/" license=('LGPL') depends=('qt' 'ca-certificates') -source=("http://delta.affinix.com/download/qca/2.0/${pkgname}-${pkgver}.tar.bz2") -md5sums=('fc15bd4da22b8096c51fcfe52d2fa309') +source=("http://delta.affinix.com/download/qca/2.0/${pkgname}-${pkgver}.tar.bz2" + 'gcc47.patch') +md5sums=('fc15bd4da22b8096c51fcfe52d2fa309' + 'dffc7367152d8888c1447253a0387a2a') build() { cd $srcdir/${pkgname}-${pkgver} + patch -p0 -i ${srcdir}/gcc47.patch ./configure \ --prefix=/usr \ --disable-tests \ diff --git a/gcc47.patch b/gcc47.patch new file mode 100644 index 0000000..5297ecb --- /dev/null +++ b/gcc47.patch @@ -0,0 +1,17 @@ +--- ./src/botantools/botan/botan/secmem.h.orig 2012-01-07 20:09:35.427999593 +0100 ++++ ./src/botantools/botan/botan/secmem.h 2012-01-07 20:09:52.540001422 +0100 +@@ -214,11 +214,11 @@ + + SecureVector(u32bit n = 0) { MemoryRegion<T>::init(true, n); } + SecureVector(const T in[], u32bit n) +- { MemoryRegion<T>::init(true); set(in, n); } ++ { MemoryRegion<T>::init(true); this->set(in, n); } + SecureVector(const MemoryRegion<T>& in) +- { MemoryRegion<T>::init(true); set(in); } ++ { MemoryRegion<T>::init(true); this->set(in); } + SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2) +- { MemoryRegion<T>::init(true); set(in1); append(in2); } ++ { MemoryRegion<T>::init(true); this->set(in1); append(in2); } + }; + + /*************************************************