diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libbulletml/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libbulletml/files')
-rw-r--r-- | dev-libs/libbulletml/files/libbulletml-0.0.6-gcc43.patch | 31 | ||||
-rw-r--r-- | dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch | 20 |
2 files changed, 51 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 )
+ {
diff --git a/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch new file mode 100644 index 000000000000..47e0dc411ac9 --- /dev/null +++ b/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch @@ -0,0 +1,20 @@ +--- calc.yy.old 2011-05-18 12:26:38.701666366 +0200 ++++ calc.yy 2011-05-18 12:27:43.020672135 +0200 +@@ -17,7 +17,7 @@ + #include "formula.h" + #include "formula-variables.h" + +-int yyerror(char* s); ++int yyerror(const char* s); + int yylex(); + + const char* yyinStr; +@@ -149,7 +149,7 @@ + return c; + } + +-int yyerror(char* s) { ++int yyerror(const char* s) { + printf("yyerror: %s\n", s); + return 0; + } |