summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-01-02 21:58:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-01-02 21:58:50 +0000
commit69399b134719aed55d60cff5dbba16799f527f14 (patch)
tree62e470f2025627404d8419e7a25870420646b58c /dev-util/cppunit/files
parentInitial commit. It's a cscope fork. (diff)
downloadgentoo-2-69399b134719aed55d60cff5dbba16799f527f14.tar.gz
gentoo-2-69399b134719aed55d60cff5dbba16799f527f14.tar.bz2
gentoo-2-69399b134719aed55d60cff5dbba16799f527f14.zip
Fix missing include with GCC 4.3+ wrt #271229 by Duncan Smith. Remove deprecated USE="qt3".
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/cppunit/files')
-rw-r--r--dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch b/dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch
new file mode 100644
index 000000000000..0d71bdd7e3fa
--- /dev/null
+++ b/dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch
@@ -0,0 +1,23 @@
+http://bugs.gentoo.org/show_bug.cgi?id=271229
+https://sourceforge.net/tracker/?func=detail&aid=2796543&group_id=11795&atid=111795
+
+--- config/ax_cxx_gcc_abi_demangle.m4
++++ config/ax_cxx_gcc_abi_demangle.m4
+@@ -15,6 +15,7 @@
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([#include <typeinfo>
+ #include <cxxabi.h>
++#include <malloc.h>
+ #include <string>
+
+ template<typename TYPE>
+--- src/cppunit/TypeInfoHelper.cpp
++++ src/cppunit/TypeInfoHelper.cpp
+@@ -6,6 +6,7 @@
+ #include <string>
+
+ #if CPPUNIT_HAVE_GCC_ABI_DEMANGLE
++#include <malloc.h>
+ #include <cxxabi.h>
+ #endif
+