[arch-commits] Commit in qca/trunk (PKGBUILD gcc47.patch)

Pierre Schmitz pierre at nymeria.archlinux.org
Fri Feb 15 11:55:50 UTC 2013


    Date: Friday, February 15, 2013 @ 12:55:50
  Author: pierre
Revision: 178072

upgpkg: qca 2.0.3-3

rebuild old package

Added:
  qca/trunk/gcc47.patch
Modified:
  qca/trunk/PKGBUILD

-------------+
 PKGBUILD    |    9 ++++++---
 gcc47.patch |   17 +++++++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-15 11:27:28 UTC (rev 178071)
+++ PKGBUILD	2013-02-15 11:55:50 UTC (rev 178072)
@@ -4,17 +4,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 \

Added: gcc47.patch
===================================================================
--- gcc47.patch	                        (rev 0)
+++ gcc47.patch	2013-02-15 11:55:50 UTC (rev 178072)
@@ -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); }
+    };
+ 
+ /*************************************************




More information about the arch-commits mailing list