diff -Nru freetts-1.2.2/debian/changelog freetts-1.2.2/debian/changelog --- freetts-1.2.2/debian/changelog 2017-12-30 06:48:19.000000000 +0000 +++ freetts-1.2.2/debian/changelog 2018-04-13 21:17:41.000000000 +0000 @@ -1,3 +1,17 @@ +freetts (1.2.2-6) unstable; urgency=medium + + * better long-term solution to java runtime dependency issue + + -- Bdale Garbee Fri, 13 Apr 2018 15:17:41 -0600 + +freetts (1.2.2-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * build with openjdk-8 instead of default-jdk + * Disable custom loadClass in VoiceManager + + -- Keith Packard Thu, 12 Apr 2018 10:31:23 -0700 + freetts (1.2.2-5) unstable; urgency=low * update to policy 4.1.3 diff -Nru freetts-1.2.2/debian/patches/disable-custom-loadclass.diff freetts-1.2.2/debian/patches/disable-custom-loadclass.diff --- freetts-1.2.2/debian/patches/disable-custom-loadclass.diff 1970-01-01 00:00:00.000000000 +0000 +++ freetts-1.2.2/debian/patches/disable-custom-loadclass.diff 2018-04-13 21:17:41.000000000 +0000 @@ -0,0 +1,31 @@ +Origin: https://sourceforge.net/p/freetts/discussion/137670/thread/938f4b85/ +Last-Update: 2018-04-12 +Description: Disable custom loadClass method + Custom loadClass in VoiceManager breaks under Java 9 + . + freetts (1.2.2-5.1) unstable; urgency=low + . + * Disable custom loadClass in VoiceManager +Author: Keith Packard + +--- + +--- freetts-1.2.2.orig/com/sun/speech/freetts/VoiceManager.java ++++ freetts-1.2.2/com/sun/speech/freetts/VoiceManager.java +@@ -661,7 +661,7 @@ class DynamicClassLoader extends URLClas + + /** + * {@inheritDoc} +- */ ++ * + public Class loadClass(final String name) + throws ClassNotFoundException { + Class loadedClass = findLoadedClass(name); +@@ -678,6 +678,7 @@ class DynamicClassLoader extends URLClas + } + return loadedClass; + } ++ */ + } + + /** diff -Nru freetts-1.2.2/debian/patches/series freetts-1.2.2/debian/patches/series --- freetts-1.2.2/debian/patches/series 2017-12-30 06:48:19.000000000 +0000 +++ freetts-1.2.2/debian/patches/series 2018-04-13 21:17:41.000000000 +0000 @@ -1,3 +1,5 @@ license.terms-missing.diff debian-build-target.diff pulse-audio-compat.diff +disable-custom-loadclass.diff +set-java-target-version.diff diff -Nru freetts-1.2.2/debian/patches/set-java-target-version.diff freetts-1.2.2/debian/patches/set-java-target-version.diff --- freetts-1.2.2/debian/patches/set-java-target-version.diff 1970-01-01 00:00:00.000000000 +0000 +++ freetts-1.2.2/debian/patches/set-java-target-version.diff 2018-04-13 21:17:41.000000000 +0000 @@ -0,0 +1,20 @@ +diff --git a/build.xml b/build.xml +index 34f7475..a5e862e 100644 +--- a/build.xml ++++ b/build.xml +@@ -125,6 +125,7 @@ jsapi.exe from the lib directory. + + +