aboutsummaryrefslogtreecommitdiffstats
path: root/devel/antlr/files/patch-lib__cpp__src__ASTFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/antlr/files/patch-lib__cpp__src__ASTFactory.cpp')
-rw-r--r--devel/antlr/files/patch-lib__cpp__src__ASTFactory.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/antlr/files/patch-lib__cpp__src__ASTFactory.cpp b/devel/antlr/files/patch-lib__cpp__src__ASTFactory.cpp
new file mode 100644
index 000000000000..72d9e8db937c
--- /dev/null
+++ b/devel/antlr/files/patch-lib__cpp__src__ASTFactory.cpp
@@ -0,0 +1,16 @@
+$FreeBSD$
+
+--- lib/cpp/src/ASTFactory.cpp.orig Mon Nov 15 16:31:34 2004
++++ lib/cpp/src/ASTFactory.cpp Mon Nov 15 16:32:20 2004
+@@ -12,7 +12,11 @@
+ #include "antlr/ANTLRUtil.hpp"
+
+ #include <iostream>
++#if defined(__GNUC__) && (__GNUC__ < 3 || __GNUC_MINOR__ < 2)
++#include <istream.h>
++#else
+ #include <istream>
++#endif
+
+ using namespace std;
+