From 600883cc616880fa0ab607828f4deabd67cfd252 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 16 Mar 2018 15:21:04 +0100 Subject: [PATCH] Bump java compatability to 1.6 and later (Closes: Bug#893102) --- debian/changelog | 7 +++++++ debian/patches/41-java-bytecode-compat.patch | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index f0c33ca8..ad484765 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +brltty (5.6-3) unstable; urgency=medium + + * debian/patches/41-java-bytecode-compat.patch: Bump java compatability to + 1.6 and later (Closes: Bug#893102). + + -- Samuel Thibault Fri, 16 Mar 2018 15:20:39 +0100 + brltty (5.6-2) unstable; urgency=medium * debian/copyright: Fix licence terms. diff --git a/debian/patches/41-java-bytecode-compat.patch b/debian/patches/41-java-bytecode-compat.patch index d77ebf2b..5b0bf36f 100644 --- a/debian/patches/41-java-bytecode-compat.patch +++ b/debian/patches/41-java-bytecode-compat.patch @@ -1,12 +1,13 @@ Description: Debian and Ubuntu contain multiple JRE implementations - with a minimum compatiblity level of Java 1.5. + with a minimum compatiblity level of Java 1.6. . This patch ensures that the Java bytecode built by this package is - compatible with all versions of Java from 1.5. + compatible with all versions of Java from 1.6. Author: James Page Forwarded: no Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/1049757 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688127 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893102 --- a/Bindings/Java/bindings.m4 +++ b/Bindings/Java/bindings.m4 @@ -14,7 +15,7 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688127 JAVA_OK=true JAVA_ENCODING="UTF-8" -+ JAVA_TARGET="-source 1.5 -target 1.5" ++ JAVA_TARGET="-source 1.6 -target 1.6" case "${JAVAC_NAME}" in - javac) JAVAC_OPTIONS="-encoding ${JAVA_ENCODING}";; -- GitLab