summaryrefslogtreecommitdiff
path: root/extra/qca
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-16 00:07:09 -0800
committerroot <root@rshg054.dnsready.net>2013-02-16 00:07:09 -0800
commit4a4f6be8604aa35bdc81ae29d86b07dc8aea0c5c (patch)
tree41f9694a761d6e5637f15f9f9241e5b84cd8897b /extra/qca
parent067830244f6b16cb094a59e5ca8fa262bd66a2ec (diff)
Sat Feb 16 00:07:08 PST 2013
Diffstat (limited to 'extra/qca')
-rw-r--r--extra/qca/PKGBUILD11
-rw-r--r--extra/qca/gcc47.patch17
2 files changed, 24 insertions, 4 deletions
diff --git a/extra/qca/PKGBUILD b/extra/qca/PKGBUILD
index a3d71907e..735683c39 100644
--- a/extra/qca/PKGBUILD
+++ b/extra/qca/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 149477 2012-02-08 09:57:45Z pierre $
+# $Id: PKGBUILD 178073 2013-02-15 11:56:00Z pierre $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
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/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); }
+ };
+
+ /*************************************************