antlr/antlr-2.7.5-gcc4.patch

19 lines
611 B
Diff

diff -Nru antlr-2.7.5.orig/antlr/Makefile.in antlr-2.7.5/antlr/Makefile.in
--- antlr-2.7.5.orig/antlr/Makefile.in 2005-08-17 15:29:32.000000000 +0200
+++ antlr-2.7.5/antlr/Makefile.in 2005-08-17 15:30:18.000000000 +0200
@@ -269,13 +269,7 @@
@abs_top_srcdir@/antlr/debug/misc/JTreeASTPanel.java \
$(eol)
-
-## damned ugly hack ..
-ifeq (gcj,@javac@)
- antlr_java_FILES = $(antlr_java1_FILES)
-else
- antlr_java_FILES = $(antlr_java1_FILES) $(antlr_swing_FILES)
-endif
+antlr_java_FILES = $(antlr_java1_FILES) $(antlr_swing_FILES)
## rule how to compile java files
@ANTLR_JAR@ :: $(antlr_java_FILES)