| 1 |
Descriptionscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`java10-compatibility.patch`#Description.: Fixes the build failure with Java 10 |
| 2 |
Authorscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`java10-compatibility.patch`#Author.: Emmanuel Bourg <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Forwardedscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/patches/`java10-compatibility.patch`#Forwarded.: no |
| 4 |
--- a/Makefile.amscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`Makefile.am`: |
| 5 |
+++ b/Makefile.amscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`Makefile.am`: |
| 6 |
@@ -111,11 +111,6 @@ |
| 7 |
$(CLASSES): $(javafiles) $(TOP)/Makefile |
| 8 |
$(JAVAH_FIX) |
| 9 |
$(JAVAC) $(javafiles) |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
$(JAR) cf $(JARTARGET) $(CLASSTOP)/* |
| 16 |
|
| 17 |
# install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its |
| 18 |
--- a/configure.inscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`configure.in`: |
| 19 |
+++ b/configure.inscip-debian debian rxtx 2.2.0+dfsg-3.1 rxtx/upstream/`configure.in`: |
| 20 |
@@ -485,7 +485,7 @@ |
| 21 |
*) |
| 22 |
find_java_native_include jni_md.h |
| 23 |
JAVAH="\$(JPATH)/bin/javah -classpath \$(CLASSPATH) -d \$(DEST) -jni" |
| 24 |
|
| 25 |
+ JAVAC="\$(JPATH)/bin/javac -classpath \$(CLASSPATH) -d \$(TOP)/ -O -source 1.8 -target 1.8 -h \$(DEST)" |
| 26 |
JAR="\$(JPATH)/bin/jar" |
| 27 |
JAVADOC="\$(JPATH)/bin/javadoc" |
| 28 |
CFLAGS=$CFLAGS" -D_BSD_SOURCE" |