summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-03-29 18:43:24 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-04-15 09:45:17 +0200
commit4a0cee19ad01cd2557dcd6c294dc0c07dd856528 (patch)
treeba70d1e5ecbf124f4da8295e280c4989df3410fb /dev-java
parentdev-java/antlr: avoid InternalEclassUsage (diff)
downloadgentoo-4a0cee19ad01cd2557dcd6c294dc0c07dd856528.tar.gz
gentoo-4a0cee19ad01cd2557dcd6c294dc0c07dd856528.tar.bz2
gentoo-4a0cee19ad01cd2557dcd6c294dc0c07dd856528.zip
dev-java/antlr: 3.2-r1 fix test failures
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35979 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/antlr/files/antlr-3.2-java21.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-java/antlr/files/antlr-3.2-java21.patch b/dev-java/antlr/files/antlr-3.2-java21.patch
index 9df897ac22de..8d885f9a5f11 100644
--- a/dev-java/antlr/files/antlr-3.2-java21.patch
+++ b/dev-java/antlr/files/antlr-3.2-java21.patch
@@ -19,3 +19,13 @@ bug #919684
import antlr.TokenWithIndex;
import antlr.CommonToken;
import org.antlr.codegen.*;
+--- a/tool/src/main/resources/org/antlr/codegen/templates/Java/ST.stg
++++ b/tool/src/main/resources/org/antlr/codegen/templates/Java/ST.stg
+@@ -33,6 +33,7 @@ group ST;
+ @outputFile.imports() ::= <<
+ <@super.imports()>
+ import org.antlr.stringtemplate.*;
++import org.antlr.stringtemplate.StringTemplate;
+ import org.antlr.stringtemplate.language.*;
+ import java.util.HashMap;
+ >>