guru/dev-java/gluegen/files/gluegen-2.3.2-disable-java-version-check.diff
Alessandro Barbieri 1741005ef0
dev-java/gluegen: Debian patches
Closes: https://bugs.gentoo.org/855470
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-07-06 02:10:29 +02:00

29 lines
1.1 KiB
Diff

Description: Disables the Java version check since the JRE in Debian always
meets the minimum requirement and the check routinely breaks with the latest JREs.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/make/jogamp-env.xml
+++ b/make/jogamp-env.xml
@@ -45,21 +45,6 @@
</condition>
</fail>
- <fail message="Unsupported Java version: ${ant.java.version}. Make sure that the version of the Java compiler is 1.6 (6.0) or greater.">
- <condition>
- <not>
- <or>
- <equals arg1="${ant.java.version}" arg2="1.6"/>
- <equals arg1="${ant.java.version}" arg2="1.7"/>
- <equals arg1="${ant.java.version}" arg2="1.8"/>
- <equals arg1="${ant.java.version}" arg2="1.9"/>
- <equals arg1="${ant.java.version}" arg2="2.0"/>
- <equals arg1="${ant.java.version}" arg2="2.1"/>
- </or>
- </not>
- </condition>
- </fail>
-
</target>
<target name="jogamp.env.init" depends="jogamp.env.validation">