[98169] trunk/dports/devel/qca
michaelld at macports.org
michaelld at macports.org
Wed Sep 26 18:32:30 PDT 2012
Revision: 98169
http://trac.macports.org//changeset/98169
Author: michaelld at macports.org
Date: 2012-09-26 18:32:30 -0700 (Wed, 26 Sep 2012)
Log Message:
-----------
qca : Fix clang compiling issue; addresses ticket #36332.
Modified Paths:
--------------
trunk/dports/devel/qca/Portfile
Added Paths:
-----------
trunk/dports/devel/qca/files/patch-src_botantools_botan_botan_secmem.h.diff
Modified: trunk/dports/devel/qca/Portfile
===================================================================
--- trunk/dports/devel/qca/Portfile 2012-09-27 01:28:45 UTC (rev 98168)
+++ trunk/dports/devel/qca/Portfile 2012-09-27 01:32:30 UTC (rev 98169)
@@ -34,6 +34,9 @@
# variant is requested.
patchfiles patch-configure.diff
+# fix C++ inheritance for a specific class to make clang happy
+patchfiles-append patch-src_botantools_botan_botan_secmem.h.diff
+
post-patch {
# set arch type(s)
reinplace "s|@ARCHES@|${qt_arch_types}|g" \
Added: trunk/dports/devel/qca/files/patch-src_botantools_botan_botan_secmem.h.diff
===================================================================
--- trunk/dports/devel/qca/files/patch-src_botantools_botan_botan_secmem.h.diff (rev 0)
+++ trunk/dports/devel/qca/files/patch-src_botantools_botan_botan_secmem.h.diff 2012-09-27 01:32:30 UTC (rev 98169)
@@ -0,0 +1,11 @@
+--- src/botantools/botan/botan/secmem.h.orig 2012-09-26 21:16:22.000000000 -0400
++++ src/botantools/botan/botan/secmem.h 2012-09-26 21:16:38.000000000 -0400
+@@ -214,7 +214,7 @@
+
+ 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); MemoryRegion<T>::set(in, n); }
+ SecureVector(const MemoryRegion<T>& in)
+ { MemoryRegion<T>::init(true); set(in); }
+ SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120926/e0c50e68/attachment.html>
More information about the macports-changes
mailing list