From 646cf22b48e77740af38e7b1e24ca2b43ab19d4c9042a530cdf4c337ac2d66fb Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Tue, 12 Sep 2017 06:43:25 +0000 Subject: [PATCH] Accepting request 523228 from home:fstrba:branches:X11:XOrg Fix build with java 9 OBS-URL: https://build.opensuse.org/request/show/523228 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=118 --- tigervnc.changes | 6 ++++++ tigervnc.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tigervnc.changes b/tigervnc.changes index 0f03415..95380d2 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 11 14:12:30 UTC 2017 - fstrba@suse.com + +- Specify java source and target level 1.6 in order to be able to + build with jdk9 + ------------------------------------------------------------------- Fri Aug 11 08:59:54 UTC 2017 - msrb@suse.com diff --git a/tigervnc.spec b/tigervnc.spec index 3115434..558a6e5 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -222,7 +222,7 @@ popd # Build java client pushd java -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8" +cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8 -source 1.6 -target 1.6" make %{?_smp_mflags} popd