summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch')
-rw-r--r--dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch b/dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch
new file mode 100644
index 000000000000..cc09a74980ca
--- /dev/null
+++ b/dev-java/antlr/files/antlr-2.7.2_alpha2-gcc3-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ur antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp
+--- antlr-2.7.2a2~/lib/cpp/antlr/CharScanner.hpp 2002-01-03 20:03:43.000000000 -0600
++++ antlr-2.7.2a2/lib/cpp/antlr/CharScanner.hpp 2003-01-12 11:41:51.000000000 -0600
+@@ -44,6 +44,8 @@
+ #include <antlr/LexerSharedInputState.hpp>
+ #include <map>
+
++#include <ctype.h>
++
+ #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
+ namespace antlr {
+ #endif