aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald Klop <ronald@FreeBSD.org>2026-04-08 13:38:47 +0000
committerRonald Klop <ronald@FreeBSD.org>2026-04-08 13:39:47 +0000
commit2cf53771fc54b80686693582d136e15230c34040 (patch)
tree029b6a2d2315a691c8ab68debd74234857e6d33c
parent34b232344bbd814c51b9cefb8ab95d6cd297c33c (diff)
java/jasmin: fix build with jdk11+
unpin openjdk8 PR: 294332 Approved-by: no maintainer
-rw-r--r--java/jasmin/Makefile1
-rw-r--r--java/jasmin/files/patch-build.xml37
2 files changed, 34 insertions, 4 deletions
diff --git a/java/jasmin/Makefile b/java/jasmin/Makefile
index 3bc0d01307b6..ab9e4b38cbd8 100644
--- a/java/jasmin/Makefile
+++ b/java/jasmin/Makefile
@@ -11,7 +11,6 @@ WWW= https://jasmin.sourceforge.net/
USES= dos2unix java:ant,run zip
DOS2UNIX_REGEX= .*\.(txt|xml|j|class|java|mf|css|bnf|html)
-JAVA_VERSION= 8
ALL_TARGET= jasmin
diff --git a/java/jasmin/files/patch-build.xml b/java/jasmin/files/patch-build.xml
index f45934f2397f..a95205f6321c 100644
--- a/java/jasmin/files/patch-build.xml
+++ b/java/jasmin/files/patch-build.xml
@@ -1,6 +1,6 @@
---- build.xml.orig Sat Mar 24 15:05:35 2007
-+++ build.xml Sat Mar 24 15:06:33 2007
-@@ -77,7 +77,7 @@
+--- build.xml.orig 2026-04-08 13:05:32 UTC
++++ build.xml
+@@ -77,7 +77,7 @@ -->
<tstamp/>
<property name="Name" value="Jasmin"/>
<property name="name" value="jasmin"/>
@@ -9,3 +9,34 @@
<property name="year" value="2006"/>
<echo message="----------- ${Name} ${version} [${year}] ------------"/>
+@@ -161,7 +161,6 @@ -->
+ <!-- =================================================================== -->
+ <target name="compile-jasmin" depends="prepare-jasmin">
+ <javac srcdir="${build.jasmin.src}"
+- source="1.4"
+ destdir="${build.jasmin.dest}"
+ debug="${debug}"
+ deprecation="${deprecation}"
+@@ -186,7 +185,6 @@ -->
+ <target name="compile-java_cup" depends="prepare-jasmin">
+ <mkdir dir="${build.jasmin.dest}/java_cup"/>
+ <javac srcdir="${build.jasmin.src}/java_cup"
+- source="1.4"
+ destdir="${build.jasmin.dest}/java_cup"
+ debug="${debug}"
+ deprecation="${deprecation}"
+@@ -230,7 +228,6 @@ -->
+ sourcepath="${src.dir}"
+ destdir="${apidocs.dir}"
+ author="true"
+- additionalparam="-source 1.4"
+ version="true"
+ use="true"
+ splitindex="true"
+@@ -294,4 +291,4 @@ -->
+ </target>
+ </project>
+
+-<!-- End of file -->
+\ No newline at end of file
++<!-- End of file -->