diff --git a/debian/changelog b/debian/changelog index bd126e7..5849582 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ jinput (20100502+dfsg-10) UNRELEASED; urgency=medium * Team upload. + * Fixed the build failure with Java 10 (Closes: #898225) * Standards-Version updated to 4.1.4 * Switch to debhelper level 11 * Use salsa.debian.org Vcs-* URLs diff --git a/debian/patches/05java7-compat.patch b/debian/patches/05java7-compat.patch deleted file mode 100644 index b4f8901..0000000 --- a/debian/patches/05java7-compat.patch +++ /dev/null @@ -1,14 +0,0 @@ -Description: Fix FTBFS with Java7 - -diff --git a/plugins/linux/build.xml b/plugins/linux/build.xml -index ad912f4..2848db3 100644 ---- a/plugins/linux/build.xml -+++ b/plugins/linux/build.xml -@@ -56,6 +56,7 @@ - - - -+ - - - diff --git a/debian/patches/06java10-compat.patch b/debian/patches/06java10-compat.patch new file mode 100644 index 0000000..24e0ae9 --- /dev/null +++ b/debian/patches/06java10-compat.patch @@ -0,0 +1,83 @@ +Description: Fixes the compatibility with Java 10 +Author: Emmanuel Bourg +Forwarded: no +--- a/plugins/linux/build.xml ++++ b/plugins/linux/build.xml +@@ -12,7 +12,7 @@ + + + +- ++ + + + +@@ -53,13 +53,6 @@ + + + +- +- +- +- +- +- +- + + + +--- a/plugins/wintab/build.xml ++++ b/plugins/wintab/build.xml +@@ -9,7 +9,7 @@ + + + +- ++ + + + +@@ -23,16 +23,6 @@ + + + +- +- +- +- +- +- +- +- +- +- + + + +--- a/plugins/OSX/build.xml ++++ b/plugins/OSX/build.xml +@@ -18,7 +18,7 @@ + + + +- ++ + + + +@@ -59,15 +59,6 @@ + + + +- +- +- +- +- +- +- +- +- + + + diff --git a/debian/patches/series b/debian/patches/series index 4da57db..57889b0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,4 +3,4 @@ 02build.xml.nonfree 03javadoc 04jinput-remove-getDeviceUsageBits.patch -05java7-compat.patch +06java10-compat.patch