diff options
| author | James Le Cuirot <chewi@gentoo.org> | 2015-10-14 14:35:05 +0100 |
|---|---|---|
| committer | James Le Cuirot <chewi@gentoo.org> | 2015-10-14 16:22:14 +0100 |
| commit | 28eb80ad21b60fd4b785d0397bd8ae00a016c8a9 (patch) | |
| tree | 7c2dd8303328613d0d89544201872cc60f505106 /dev-cpp/antlr-cpp/files | |
| parent | 2fa849db86f415ee6eca0a7fb965c88606ace3e6 (diff) | |
| download | gentoo-28eb80ad21b60fd4b785d0397bd8ae00a016c8a9.tar.gz gentoo-28eb80ad21b60fd4b785d0397bd8ae00a016c8a9.tar.bz2 gentoo-28eb80ad21b60fd4b785d0397bd8ae00a016c8a9.zip | |
dev-cpp/antlr-cpp: New package, split from dev-java/antlr
The old ANTLR 2 ebuild tried to cram all the runtimes together, which
was messy. The C++ runtime does not need any Java components at build
time or runtime so it makes sense to split this out. The C++ runtime
for ANTLR 4 is maintained separately by upstream anyway.
This new package does a better job of building the shared library with
the help of libtool. It also supports multilib.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-cpp/antlr-cpp/files')
| -rw-r--r-- | dev-cpp/antlr-cpp/files/2.7.7-gcc.patch | 12 | ||||
| -rw-r--r-- | dev-cpp/antlr-cpp/files/2.7.7-libtool.patch | 21 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-cpp/antlr-cpp/files/2.7.7-gcc.patch b/dev-cpp/antlr-cpp/files/2.7.7-gcc.patch new file mode 100644 index 000000000000..c67d5b6dfcf9 --- /dev/null +++ b/dev-cpp/antlr-cpp/files/2.7.7-gcc.patch @@ -0,0 +1,12 @@ +diff -Naur antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp +--- antlr-2.7.7.orig/lib/cpp/antlr/CharScanner.hpp 2006-11-01 21:37:17.000000000 +0000 ++++ antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp 2015-10-06 23:01:53.083655950 +0100 +@@ -10,6 +10,8 @@ + + #include <antlr/config.hpp> + ++#include <cstdio> ++#include <cstring> + #include <map> + + #ifdef HAS_NOT_CCTYPE_H diff --git a/dev-cpp/antlr-cpp/files/2.7.7-libtool.patch b/dev-cpp/antlr-cpp/files/2.7.7-libtool.patch new file mode 100644 index 000000000000..ea5e809f473f --- /dev/null +++ b/dev-cpp/antlr-cpp/files/2.7.7-libtool.patch @@ -0,0 +1,21 @@ +diff -Naur antlr-2.7.7.orig/configure.in antlr-2.7.7/configure.in +--- antlr-2.7.7.orig/configure.in 2006-11-01 21:37:18.000000000 +0000 ++++ antlr-2.7.7/configure.in 2015-10-11 13:49:09.166308712 +0100 +@@ -13,6 +13,9 @@ + AC_CONFIG_SRCDIR([LICENSE.txt]) + AC_CONFIG_AUX_DIR(scripts) + ++LT_INIT ++AM_INIT_AUTOMAKE ++ + ## This shall be the very first config file. Do not change + ## this. + AC_CONFIG_FILES([scripts/config.vars]) +@@ -841,7 +844,6 @@ + AC_PROG_RANLIB + + test -z "$MKDIR" && AC_PATH_PROG(MKDIR, mkdir$EXEEXT, mkdir$EXEEXT ) +-test -z "$RM" && AC_PATH_PROG(RM, rm$EXEEXT, rm$EXEEXT ) + + AX_PATH_PROGS( + [TAR], |
