diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
commit | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch) | |
tree | 06520d9024b40745b94f02d0d3419386e6496863 /extra/qca | |
parent | 6cc893589a6bd208f2b7711f985e17df7a6df816 (diff) | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'extra/qca')
-rw-r--r-- | extra/qca/PKGBUILD | 15 | ||||
-rw-r--r-- | extra/qca/gcc47.patch | 17 |
2 files changed, 27 insertions, 5 deletions
diff --git a/extra/qca/PKGBUILD b/extra/qca/PKGBUILD index f2e914566..e3682b678 100644 --- a/extra/qca/PKGBUILD +++ b/extra/qca/PKGBUILD @@ -1,20 +1,25 @@ -# $Id: PKGBUILD 149477 2012-02-08 09:57:45Z pierre $ +# $Id: PKGBUILD 178977 2013-03-01 10:23:13Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Pierre Schmitz <pierre@archlinux.de> pkgname=qca pkgver=2.0.3 -pkgrel=2.1 +pkgrel=4 pkgdesc="Qt Cryptographic Architecture" arch=('i686' 'x86_64' 'mips64el') 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') +depends=('qt4' 'ca-certificates') +source=("http://delta.affinix.com/download/qca/2.0/${pkgname}-${pkgver}.tar.bz2" + 'gcc47.patch') +md5sums=('fc15bd4da22b8096c51fcfe52d2fa309' + 'dffc7367152d8888c1447253a0387a2a') build() { + . /etc/profile.d/qt4.sh + cd $srcdir/${pkgname}-${pkgver} + patch -p0 -i ${srcdir}/gcc47.patch ./configure \ --prefix=/usr \ --disable-tests \ diff --git a/extra/qca/gcc47.patch b/extra/qca/gcc47.patch new file mode 100644 index 000000000..5297ecb9b --- /dev/null +++ b/extra/qca/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); } + }; + + /************************************************* |