Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

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


home | help