xmlgraphics-fop/java8-compatibility.patch

25 lines
1.1 KiB
Diff
Raw Permalink Normal View History

diff -urEwbB fop-2.10/fop/build.xml fop-2.10/fop/build.xml
--- fop-2.10/fop/build.xml 2024-10-11 13:58:44.468271086 +0200
+++ fop-2.10/fop/build.xml 2024-10-11 14:04:37.160704185 +0200
@@ -94,8 +94,9 @@
<property name="javac.debug" value="on"/>
<property name="javac.optimize" value="off"/>
<property name="javac.deprecation" value="on"/>
- <property name="javac.source" value="1.8"/>
- <property name="javac.target" value="1.8"/>
+ <property name="javac.release" value="8"/>
+ <property name="javac.source" value="1.${javac.release}"/>
+ <property name="javac.target" value="${javac.source}"/>
<property name="javac.fork" value="no"/>
<property name="junit.fork" value="yes"/>
<property name="junit.haltonfailure" value="off"/>
@@ -186,7 +187,7 @@
debug="${javac.debug}"
deprecation="${javac.deprecation}"
optimize="${javac.optimize}" encoding="utf-8"
- source="${javac.source}" target="${javac.target}"/>
+ release="${javac.release}" source="${javac.source}" target="${javac.target}"/>
</presetdef>
<presetdef name="junit">