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
This commit is contained in:
James Le Cuirot
2015-10-14 14:35:05 +01:00
parent 2fa849db86
commit 28eb80ad21
5 changed files with 144 additions and 0 deletions

View File

@@ -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