aboutsummaryrefslogtreecommitdiff
path: root/devel/antlr/files
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2003-05-08 08:46:28 +0000
committerErnst de Haan <znerd@FreeBSD.org>2003-05-08 08:46:28 +0000
commit0972feddc129cdeede64b1df789fa39881f3f3ab (patch)
treeafeabc0253bbfffa032205e3fcca7727c2a26767 /devel/antlr/files
parentea12983608f3d4dda53063a1accc298a014966d6 (diff)
Update ANTLR to 2.7.2.
PR: 51416, 51417, 51418, 51905 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=80433
Diffstat (limited to 'devel/antlr/files')
-rw-r--r--devel/antlr/files/antlr.sh2
-rw-r--r--devel/antlr/files/patch-lib::cpp::antlr::ANTLRException.hpp10
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/antlr/files/antlr.sh b/devel/antlr/files/antlr.sh
index a8ec1ed47857..dec25709d044 100644
--- a/devel/antlr/files/antlr.sh
+++ b/devel/antlr/files/antlr.sh
@@ -1,2 +1,2 @@
#! /bin/sh
-javavm -classpath %%ANTLR_JAR_PATH%% antlr.Tool
+%%JAVA%% -classpath %%JAVA_CLASSES%%/antlr.jar antlr.Tool "$@"
diff --git a/devel/antlr/files/patch-lib::cpp::antlr::ANTLRException.hpp b/devel/antlr/files/patch-lib::cpp::antlr::ANTLRException.hpp
new file mode 100644
index 000000000000..7048a047e182
--- /dev/null
+++ b/devel/antlr/files/patch-lib::cpp::antlr::ANTLRException.hpp
@@ -0,0 +1,10 @@
+--- lib/cpp/antlr/ANTLRException.hpp.orig Fri Apr 25 01:59:50 2003
++++ lib/cpp/antlr/ANTLRException.hpp Fri Apr 25 01:55:50 2003
+@@ -9,6 +9,7 @@
+ */
+
+ #include <antlr/config.hpp>
++#include <exception>
+ #include <string>
+
+ #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE