File rxtx-java-missing-javah.patch of Package rxtx-java

diff -up ./configure.in.orig ./configure.in
--- ./configure.in.orig	2017-10-01 21:08:45.000000000 +0200
+++ ./configure.in	2018-02-27 20:57:11.299421158 +0100
@@ -483,7 +483,7 @@ if test "$CC" = "gcc" || test "$CC"="egc
 		;;
 	*)
 		find_java_native_include jni_md.h
-		JAVAH="\$(JPATH)/bin/javah -classpath \$(CLASSPATH) -d \$(DEST) -jni"
+		JAVAH="\$(JPATH)/bin/javac -h \$(DEST) -classpath \$(CLASSPATH) -d \$(DEST)"
 		JAVAC="\$(JPATH)/bin/javac -classpath \$(CLASSPATH) -d \$(TOP)/ -O -source 1.6 -target 1.6"
 		JAR="\$(JPATH)/bin/jar"
 		JAVADOC="\$(JPATH)/bin/javadoc"
diff -up ./configure.orig ./configure
--- ./configure.orig	2017-10-01 21:09:36.000000000 +0200
+++ ./configure	2018-02-27 20:56:59.583355434 +0100
@@ -22105,7 +22105,7 @@ if test "$CC" = "gcc" || test "$CC"="egc
 		;;
 	*)
 		find_java_native_include jni_md.h
-		JAVAH="\$(JPATH)/bin/javah -classpath \$(CLASSPATH) -d \$(DEST) -jni"
+		JAVAH="\$(JPATH)/bin/javac -h \$(DEST) -classpath \$(CLASSPATH) -d \$(DEST)"
 		JAVAC="\$(JPATH)/bin/javac -classpath \$(CLASSPATH) -d \$(TOP)/ -O -source 1.6 -target 1.6"
 		JAR="\$(JPATH)/bin/jar"
 		JAVADOC="\$(JPATH)/bin/javadoc"
diff -up ./Makefile.am.orig ./Makefile.am
--- ./Makefile.am.orig	2008-09-14 23:36:27.000000000 +0200
+++ ./Makefile.am	2018-02-27 20:58:58.200020848 +0100
@@ -113,7 +113,7 @@ $(CLASSES): $(javafiles) $(TOP)/Makefile
 	$(JAVAC) $(javafiles)
 	$(JAVAH) `(for i in $(javahfiles);do \
 		if grep > /dev/null native.*\( $(SPATH)/gnu/io/$$i.java; then \
-			echo $(CLASSDIR).$$i; \
+			echo $(SPATH)/gnu/io/$$i.java; \
 		fi; \
 	done)`
 	$(JAR) cf $(JARTARGET) $(CLASSTOP)/*