nixpkgs/pkgs/tools/games/jpsxdec/0001-jpsxdec-hackfix-build-with-newer-JDKs.patch
2021-11-25 21:49:29 +10:00

44 lines
1.5 KiB
Diff

From 52662c71f7b043f374d4062d07a28b59ef010cbe Mon Sep 17 00:00:00 2001
From: Zane van Iperen <zane@zanevaniperen.com>
Date: Wed, 22 Sep 2021 18:41:36 +1000
Subject: [PATCH] jpsxdec: hackfix build with newer JDKs
---
jpsxdec/build.xml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/jpsxdec/build.xml b/jpsxdec/build.xml
index 713941c..f5aa902 100644
--- a/jpsxdec/build.xml
+++ b/jpsxdec/build.xml
@@ -43,8 +43,8 @@
<property name="build-lgpl.dir" location="${working.dir}/build-lgpl"/>
<property name="testbuild.dir" location="${working.dir}/build-test"/>
- <property name="javac.target.ver" value="1.6"/>
- <property name="javac.source.ver" value="1.6" />
+ <property name="javac.target.ver" value="1.8"/>
+ <property name="javac.source.ver" value="1.8" />
<!-- output -->
<property name="release.dir" location="${working.dir}/release"/>
@@ -76,7 +76,6 @@
<compilerarg value="-Xlint:static"/>
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:varargs"/>
- <compilerarg value="-Werror"/>
</javac>
<!-- Copy over resources -->
@@ -109,7 +108,6 @@
<compilerarg value="-Xlint:static"/>
<compilerarg value="-Xlint:unchecked"/>
<compilerarg value="-Xlint:varargs"/>
- <compilerarg value="-Werror"/>
</javac>
<!-- Copy over resources -->
--
2.31.1