summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-01-02 01:37:51 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-01-02 01:37:51 +0000
commit77e225ba9692a81de02f79653163052a301b5c4d (patch)
treef67ffdd93ddd4d09495a9155909e25978bc8ed26 /dev-cpp/gccxml/files
parentoptimize memory/string usage a bit more (diff)
downloadgentoo-2-77e225ba9692a81de02f79653163052a301b5c4d.tar.gz
gentoo-2-77e225ba9692a81de02f79653163052a301b5c4d.tar.bz2
gentoo-2-77e225ba9692a81de02f79653163052a301b5c4d.zip
Add patch to fix building with gcc-4.3. Thanks to Marek Cruz <programatorfreez AT gmail DOT com>; bug #248922
(Portage version: 2.2_rc17/cvs/Linux 2.6.26-rc5 i686)
Diffstat (limited to 'dev-cpp/gccxml/files')
-rw-r--r--dev-cpp/gccxml/files/gccxml-0.6.0-gcc43.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-cpp/gccxml/files/gccxml-0.6.0-gcc43.patch b/dev-cpp/gccxml/files/gccxml-0.6.0-gcc43.patch
new file mode 100644
index 000000000000..ed65ca2758a9
--- /dev/null
+++ b/dev-cpp/gccxml/files/gccxml-0.6.0-gcc43.patch
@@ -0,0 +1,21 @@
+--- GCC_XML/GXFront/gxConfiguration.cxx 2004-01-22 22:51:36.000000000 +0100
++++ GCC_XML/GXFront/gxConfiguration.cxx 2008-11-26 18:17:34.000000000 +0100
+@@ -15,6 +15,7 @@
+
+ =========================================================================*/
+ #include "gxConfiguration.h"
++#include <cstring>
+
+ //----------------------------------------------------------------------------
+ const char* gxConfigurationVc6Registry =
+--- GCC_XML/KWSys/SystemTools.cxx 2004-01-22 16:30:01.000000000 +0100
++++ GCC_XML/KWSys/SystemTools.cxx 2008-11-26 18:16:53.000000000 +0100
+@@ -17,6 +17,7 @@
+
+ #include KWSYS_HEADER(ios/iostream)
+ #include KWSYS_HEADER(ios/fstream)
++#include <cstring>
+
+ #ifdef _MSC_VER
+ # pragma warning (disable: 4786)
+