Control: tags -1 patch

Dear maintainer,

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

Regards,

Markus
diff -Nru libusb-java-0.8+ztex20090101/debian/changelog 
libusb-java-0.8+ztex20090101/debian/changelog
--- libusb-java-0.8+ztex20090101/debian/changelog       2013-11-24 
19:27:06.000000000 +0100
+++ libusb-java-0.8+ztex20090101/debian/changelog       2017-12-28 
00:29:00.000000000 +0100
@@ -1,3 +1,10 @@
+libusb-java (0.8+ztex20090101-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update java-compat.patch and fix FTBFS with Java 9. (Closes: #873992)
+
+ -- Markus Koschany <a...@debian.org>  Thu, 28 Dec 2017 00:29:00 +0100
+
 libusb-java (0.8+ztex20090101-7) unstable; urgency=low
 
   * Reverting previous change for locating jni.h, let us hope
diff -Nru libusb-java-0.8+ztex20090101/debian/control 
libusb-java-0.8+ztex20090101/debian/control
--- libusb-java-0.8+ztex20090101/debian/control 2013-11-03 17:54:49.000000000 
+0100
+++ libusb-java-0.8+ztex20090101/debian/control 2017-12-28 00:29:00.000000000 
+0100
@@ -2,7 +2,7 @@
 Section: java
 Priority: extra
 Maintainer: Steffen Moeller <moel...@debian.org>
-Build-Depends: debhelper (>= 8.0.0), default-jdk (>= 1:1.6), libusb-dev
+Build-Depends: debhelper (>= 8.0.0), default-jdk, libusb-dev
 Standards-Version: 3.9.4
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-escience/libusb-java/trunk
 Vcs-Svn: svn://svn.debian.org/pkg-escience/libusb-java/trunk
diff -Nru libusb-java-0.8+ztex20090101/debian/patches/java-compat.patch 
libusb-java-0.8+ztex20090101/debian/patches/java-compat.patch
--- libusb-java-0.8+ztex20090101/debian/patches/java-compat.patch       
2013-10-08 19:19:13.000000000 +0200
+++ libusb-java-0.8+ztex20090101/debian/patches/java-compat.patch       
2017-12-28 00:29:00.000000000 +0100
@@ -12,7 +12,7 @@
  STRIP=strip
  CHMOD=chmod -x
 -JAVAC=javac
-+JAVAC=javac -source 1.5 -target 1.5 -encoding ISO-8859-1
++JAVAC=javac -source 1.7 -target 1.7 -encoding ISO-8859-1
  RM=rm -f
  INSTALL=install
  INSTALLDIR=$(INSTALL) -d
diff -Nru libusb-java-0.8+ztex20090101/debian/rules 
libusb-java-0.8+ztex20090101/debian/rules
--- libusb-java-0.8+ztex20090101/debian/rules   2013-10-08 18:56:04.000000000 
+0200
+++ libusb-java-0.8+ztex20090101/debian/rules   2017-12-28 00:29:00.000000000 
+0100
@@ -22,7 +22,7 @@
        $(MAKE) STRIP="# not stripping: " classes
        jar cf libusb.jar `find ch -name "*.class"`
        [ -d $(DOCPATH) ] || mkdir -p $(DOCPATH)
-       javadoc -source 1.5 -encoding ISO-8859-1 -classpath . -d $(DOCPATH) 
ch.ntb.usb
+       javadoc -source 1.7 -encoding ISO-8859-1 -classpath . -d $(DOCPATH) 
ch.ntb.usb
        touch build-indep-stamp
 
 LIBPACKAGE=libusb-java-lib

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to