Control: tags -1 patch

Dear maintainer,

I've prepared a patch to fix the FTBFS with Java 9. I'm attaching it to
this bug report.

Regards,

Markus
From 9b1cb29f7dbdaaa94cfd04cc226f00ef62905235 Mon Sep 17 00:00:00 2001
From: Markus Koschany <a...@debian.org>
Date: Tue, 26 Dec 2017 20:46:03 +0100
Subject: [PATCH] fix FTBFS with Java 9.

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3cfa594..8f0616d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,7 +80,7 @@ CONFIGURE_SWITCHES += --enable-posixmutexes
 endif
 
 ifeq (yes,$(ENABLE_JAVA))
-JAVACFLAGS=-source 1.5 -target 1.5
+JAVACFLAGS=-source 1.7 -target 1.7
 JAVA_HOME ?= /usr/lib/jvm/default-java
 CFLAGS += -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
 CONFIGURE_SWITCHES += --enable-java
-- 
2.15.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to