From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/cppunit/files: cppunit-1.12.1-add_missing_include.patch |
Date: | Sat, 02 Jan 2010 21:58:53 |
Message-Id: | E1NRBzm-0007dr-NM@stork.gentoo.org |
1 | ssuominen 10/01/02 21:58:50 |
2 | |
3 | Added: cppunit-1.12.1-add_missing_include.patch |
4 | Log: |
5 | Fix missing include with GCC 4.3+ wrt #271229 by Duncan Smith. Remove deprecated USE="qt3". |
6 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cppunit/files/cppunit-1.12.1-add_missing_include.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: cppunit-1.12.1-add_missing_include.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/show_bug.cgi?id=271229 |
17 | https://sourceforge.net/tracker/?func=detail&aid=2796543&group_id=11795&atid=111795 |
18 | |
19 | --- config/ax_cxx_gcc_abi_demangle.m4 |
20 | +++ config/ax_cxx_gcc_abi_demangle.m4 |
21 | @@ -15,6 +15,7 @@ |
22 | AC_LANG_CPLUSPLUS |
23 | AC_TRY_COMPILE([#include <typeinfo> |
24 | #include <cxxabi.h> |
25 | +#include <malloc.h> |
26 | #include <string> |
27 | |
28 | template<typename TYPE> |
29 | --- src/cppunit/TypeInfoHelper.cpp |
30 | +++ src/cppunit/TypeInfoHelper.cpp |
31 | @@ -6,6 +6,7 @@ |
32 | #include <string> |
33 | |
34 | #if CPPUNIT_HAVE_GCC_ABI_DEMANGLE |
35 | +#include <malloc.h> |
36 | #include <cxxabi.h> |
37 | #endif |