summaryrefslogtreecommitdiff
path: root/antlr-2.7.7-newgcc.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 08:47:18 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 08:47:18 +0000
commitd4855d1029e426bdff1e097e3dd4526cfc9e5794 (patch)
tree2753db87abf9000efd4e909f7ca4a43e12445f51 /antlr-2.7.7-newgcc.patch
parent6539588013ea8c371baf12dfd4f19412f9f4c331 (diff)
automatic import of antlropeneuler24.03_LTS
Diffstat (limited to 'antlr-2.7.7-newgcc.patch')
-rw-r--r--antlr-2.7.7-newgcc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/antlr-2.7.7-newgcc.patch b/antlr-2.7.7-newgcc.patch
new file mode 100644
index 0000000..c501bd0
--- /dev/null
+++ b/antlr-2.7.7-newgcc.patch
@@ -0,0 +1,12 @@
+diff -up ./lib/cpp/antlr/CharScanner.hpp.sav ./lib/cpp/antlr/CharScanner.hpp
+--- ./lib/cpp/antlr/CharScanner.hpp.sav 2009-03-20 14:42:43.000000000 -0400
++++ ./lib/cpp/antlr/CharScanner.hpp 2009-03-20 14:43:29.000000000 -0400
+@@ -11,6 +11,8 @@
+ #include <antlr/config.hpp>
+
+ #include <map>
++#include <strings.h>
++#include <cstdio>
+
+ #ifdef HAS_NOT_CCTYPE_H
+ #include <ctype.h>