diff options
author | Tristan Heaven <tristan@gentoo.org> | 2008-04-30 23:16:43 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2008-04-30 23:16:43 +0000 |
commit | 8fd3b08ca72898a1841207986aa585964454602a (patch) | |
tree | c5374cd82acf27f95a871c81b7315c038d47d48e /dev-libs/libbulletml/files | |
parent | Fix building with gcc-4.3 (diff) | |
download | historical-8fd3b08ca72898a1841207986aa585964454602a.tar.gz historical-8fd3b08ca72898a1841207986aa585964454602a.tar.bz2 historical-8fd3b08ca72898a1841207986aa585964454602a.zip |
Fix building with gcc-4.3
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'dev-libs/libbulletml/files')
-rw-r--r-- | dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch new file mode 100644 index 000000000000..f7e9bfbab9b1 --- /dev/null +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch @@ -0,0 +1,31 @@ +--- src/calc.yy ++++ src/calc.yy +@@ -8,6 +8,7 @@ + + #include <cmath> + #include <cctype> ++#include <cstring> + + #include <vector> + #include <sstream> +--- src/tinyxml/tinyxml.h ++++ src/tinyxml/tinyxml.h +@@ -28,6 +28,8 @@ + #include <string>
+ #include <stdio.h>
+ #include <assert.h>
++#include <cstring>
++#include <cstdlib>
+
+ class TiXmlDocument;
+ class TiXmlElement;
+--- src/tinyxml/tinyxmlparser.cpp ++++ src/tinyxml/tinyxmlparser.cpp +@@ -24,6 +24,7 @@ +
+ #include "tinyxml.h"
+ #include <ctype.h>
++#include <cstring>
+
+ const char* TiXmlBase::SkipWhiteSpace( const char* p )
+ {
|