summarylogtreecommitdiffstats
path: root/gcc4.4.patch
diff options
context:
space:
mode:
authorAntonio Rojas2022-04-01 18:27:30 +0200
committerAntonio Rojas2022-04-01 18:27:30 +0200
commit79854fc579e40796943a0117691259fd58f12cd3 (patch)
treebf56913a8bad82d0ad4d86bd653fbee147e4fed6 /gcc4.4.patch
downloadaur-antlr2.tar.gz
import from community
Diffstat (limited to 'gcc4.4.patch')
-rw-r--r--gcc4.4.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc4.4.patch b/gcc4.4.patch
new file mode 100644
index 000000000000..de8de9d3f9de
--- /dev/null
+++ b/gcc4.4.patch
@@ -0,0 +1,21 @@
+diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp
+--- lib/cpp/antlr/CharScanner.hpp 2006-11-01 22:37:17.000000000 +0100
++++ lib/cpp/antlr/CharScanner.hpp 2008-03-19 20:09:21.000000000 +0100
+@@ -10,6 +10,7 @@
+
+ #include <antlr/config.hpp>
+
++#include <cstring>
+ #include <map>
+
+ #ifdef HAS_NOT_CCTYPE_H
+--- lib/cpp/antlr/CharScanner.hpp~ 2008-11-11 21:24:02.000000000 +0000
++++ lib/cpp/antlr/CharScanner.hpp 2008-11-11 21:24:33.000000000 +0000
+@@ -10,6 +10,7 @@
+
+ #include <antlr/config.hpp>
+
++#include <cstdio>
+ #include <cstring>
+ #include <map>
+