summaryrefslogtreecommitdiff
path: root/dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch')
-rw-r--r--dev-libs/libbulletml/files/libbulletml-0.0.6-gcc46.patch20
1 files changed, 20 insertions, 0 deletions
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;
+ }