Bug#874001: FTBFS with Java 9 due to -source/-target only

Markus Koschany apo at debian.org
Tue Jan 23 23:24:01 UTC 2018


Control: tags -1 patch

Dear maintainer,

I've prepared a patch to fix the FTBFS with Java 9.

Please find attached the debdiff.

Regards,

Markus
-------------- next part --------------
diff -Nru sonic-0.2.0/debian/changelog sonic-0.2.0/debian/changelog
--- sonic-0.2.0/debian/changelog	2017-10-22 17:52:54.000000000 +0200
+++ sonic-0.2.0/debian/changelog	2018-01-24 00:19:34.000000000 +0100
@@ -1,3 +1,10 @@
+sonic (0.2.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Java 9.
+
+ -- Markus Koschany <apo at debian.org>  Wed, 24 Jan 2018 00:19:34 +0100
+
 sonic (0.2.0-5) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff -Nru sonic-0.2.0/debian/rules sonic-0.2.0/debian/rules
--- sonic-0.2.0/debian/rules	2016-10-23 12:00:54.000000000 +0200
+++ sonic-0.2.0/debian/rules	2018-01-24 00:19:34.000000000 +0100
@@ -15,7 +15,7 @@
 
 sonic/Sonic.class: Sonic.java
 	[ -L sonic ] || ln -s . sonic
-	javac -source 1.5 -target 1.5 $<
+	javac -source 1.7 -target 1.7 $<
 
 sonic.jar: sonic/Sonic.class
 	jar -cf $@ $^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-a11y-devel/attachments/20180124/658c7a9a/attachment.sig>


More information about the Pkg-a11y-devel mailing list