archrelease: copy trunk to community-any
[ArchLinux/community.git] / java-rxtx / trunk / java10.patch
blob29dc48f1f6492d06e59e63554578863fdb6cbee0
1 diff -Naur rxtx-2.2pre2.orig/configure.in rxtx-2.2pre2/configure.in
2 --- rxtx-2.2pre2.orig/configure.in 2008-12-31 03:28:37.000000000 +0100
3 +++ rxtx-2.2pre2/configure.in 2018-04-25 07:50:42.382848449 +0200
4 @@ -483,8 +483,7 @@
5 ;;
6 *)
7 find_java_native_include jni_md.h
8 - JAVAH="\$(JPATH)/bin/javah -classpath \$(CLASSPATH) -d \$(DEST) -jni"
9 - JAVAC="\$(JPATH)/bin/javac -classpath \$(CLASSPATH) -d \$(TOP)/ -O -source 1.3 -target 1.3"
10 + JAVAC="\$(JPATH)/bin/javac -classpath \$(CLASSPATH) -d \$(TOP)/ -h \$(DEST) -O"
11 JAR="\$(JPATH)/bin/jar"
12 JAVADOC="\$(JPATH)/bin/javadoc"
13 CFLAGS=$CFLAGS" -D_BSD_SOURCE"
14 diff -Naur rxtx-2.2pre2.orig/Makefile.am rxtx-2.2pre2/Makefile.am
15 --- rxtx-2.2pre2.orig/Makefile.am 2008-09-14 23:36:27.000000000 +0200
16 +++ rxtx-2.2pre2/Makefile.am 2018-04-25 07:50:01.198326446 +0200
17 @@ -111,11 +111,6 @@
18 $(CLASSES): $(javafiles) $(TOP)/Makefile
19 $(JAVAH_FIX)
20 $(JAVAC) $(javafiles)
21 - $(JAVAH) `(for i in $(javahfiles);do \
22 - if grep > /dev/null native.*\( $(SPATH)/gnu/io/$$i.java; then \
23 - echo $(CLASSDIR).$$i; \
24 - fi; \
25 - done)`
26 $(JAR) cf $(JARTARGET) $(CLASSTOP)/*
28 # install librxtxSerial.so into the proper directory and copy $(JARTARGET) to its