diff options
author | Pol Vinogradov | 2008-04-25 00:25:15 +0500 |
---|---|---|
committer | Pol Vinogradov | 2008-04-25 00:25:15 +0500 |
commit | cb2781ce6cf4b44353408b67b08ff1d9b1c3b6a4 (patch) | |
tree | ad45a8f2d0d78b0d7800b9ec9e055cb37a19a6ab /java | |
parent | 278ec9610da61b718a05273b8f68632976752ee1 (diff) |
java/antlr: added PRE_BUILD to fix compiling of C++ library
Diffstat (limited to 'java')
-rw-r--r-- | java/antlr/HISTORY | 3 | ||||
-rwxr-xr-x | java/antlr/PRE_BUILD | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/java/antlr/HISTORY b/java/antlr/HISTORY index 5dd8df692c..ee23be1da2 100644 --- a/java/antlr/HISTORY +++ b/java/antlr/HISTORY @@ -1,3 +1,6 @@ +2008-04-25 Pol Vinogradov <vin.public@gmail.com> + * PRE_BUILD: added to fix compiling of C++ library + 2007-11-16 Julien "_kaze_" ROZO <julien@rozo.org> * DETAILS: fixed SOURCE_URL (bug #13978) * DEPENDS: fixed a typo in "for C++ language" diff --git a/java/antlr/PRE_BUILD b/java/antlr/PRE_BUILD new file mode 100755 index 0000000000..5760871cc1 --- /dev/null +++ b/java/antlr/PRE_BUILD @@ -0,0 +1,7 @@ +default_pre_build && +cd ${SOURCE_DIRECTORY} && + +if is_depends_enabled $SPELL g++; then + sedit "s:#include <antlr/TokenStream.hpp>:#include <strings.h>\n\n#include <antlr/TokenStream.hpp>:" \ +lib/cpp/antlr/CharScanner.hpp +fi |