Description: Removes makefile install of RXTXcomm.jar, silences an unnecessary compiling error
Origin: Mario Joussen <joussen@debian.org>, edited by Scott Howard <showard314@gmail.com> <2010-06-03>

Index: rxtx/Makefile.in
===================================================================
--- rxtx.orig/Makefile.in	2010-06-03 23:39:27.176240777 -0400
+++ rxtx/Makefile.in	2010-06-25 09:05:27.853689860 -0400
@@ -625,7 +625,6 @@
 			echo $$i; \
 		fi; \
 	done` $(RXTX_PATH)
-	$(INSTALL_PROGRAM) $(JARTARGET) $(JHOME)/
 
 clean-generic:
 	rm -rf $(DEST) $(TOP)/$(CLASSTOP)
@@ -635,7 +634,8 @@
 
 #  create the javadoc files.
 docs: $(CLASSES)
-	$(JAVADOC) $(javafiles)
+	mkdir api
+	cd api && $(JAVADOC) $(javafiles)
 
 ################  WIN32 CrossCompiling from here down #######################
 
Index: rxtx/src/RS485Imp.c
===================================================================
--- rxtx.orig/src/RS485Imp.c	2010-06-03 23:39:26.986239690 -0400
+++ rxtx/src/RS485Imp.c	2010-06-25 09:05:27.863691460 -0400
@@ -127,6 +127,7 @@
 #endif /* !__FreeBSD__ */
 #if defined(__linux__) 
 	/* Lets let people who upgraded kernels know they may have problems */
+	/*
 	if (uname (&name) == -1)
 	{
 		fprintf(stderr,"RXTX WARNING:  cannot get system name\n");
@@ -137,6 +138,7 @@
 		fprintf(stderr, "\n\n\nRXTX WARNING:  This library was compiled to run with OS release %s and you are currently running OS release %s.  In some cases this can be a problem.  Try recompiling RXTX if you notice strange behavior.  If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release);
 		getchar();
 	}
+	*/
 #endif /* __linux__ */
 #endif /* WIN32 */
 }
Index: rxtx/src/RawImp.c
===================================================================
--- rxtx.orig/src/RawImp.c	2010-06-03 23:39:27.026241624 -0400
+++ rxtx/src/RawImp.c	2010-06-25 09:05:27.873688869 -0400
@@ -272,6 +272,7 @@
 #endif /* !__FreeBSD__ */
 #if defined(__linux__) 
 	/* Lets let people who upgraded kernels know they may have problems */
+	/*
 	if (uname (&name) == -1)
 	{
 		fprintf(stderr,"RXTX WARNING:  cannot get system name\n");
@@ -282,6 +283,7 @@
 		fprintf(stderr, "\n\n\nRXTX WARNING:  This library was compiled to run with OS release %s and you are currently running OS release %s.  In some cases this can be a problem.  Try recompiling RXTX if you notice strange behavior.  If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release);
 		getchar();
 	}
+	*/
 #endif /* __linux__ */
 #endif /* WIN32 */
 }
Index: rxtx/src/SerialImp.c
===================================================================
--- rxtx.orig/src/SerialImp.c	2010-06-03 23:39:27.056242516 -0400
+++ rxtx/src/SerialImp.c	2010-06-25 09:05:27.893687878 -0400
@@ -320,6 +320,7 @@
 #endif /* DEBUG_TIMING */
 #if defined(DEBUG) && defined(__linux__)
 	/* Lets let people who upgraded kernels know they may have problems */
+	/*
 	if (uname (&name) == -1)
 	{
 		report( "RXTX WARNING:  cannot get system name\n" );
@@ -333,6 +334,7 @@
 		report( message );
 		getchar();
 	}
+	*/
 	LEAVE( "RXTXPort:Initialize" );
 #endif /* DEBUG && __linux__ */
 }
Index: rxtx/src/I2CImp.c
===================================================================
--- rxtx.orig/src/I2CImp.c	2010-06-03 23:39:27.106240743 -0400
+++ rxtx/src/I2CImp.c	2010-06-25 09:05:27.893687878 -0400
@@ -127,6 +127,7 @@
 #endif /* !__FreeBSD__ */
 #if defined(__linux__) 
 	/* Lets let people who upgraded kernels know they may have problems */
+	/*
 	if (uname (&name) == -1)
 	{
 		fprintf(stderr,"RXTX WARNING:  cannot get system name\n");
@@ -137,6 +138,7 @@
 		fprintf(stderr, "\n\n\nRXTX WARNING:  This library was compiled to run with OS release %s and you are currently running OS release %s.  In some cases this can be a problem.  Try recompiling RXTX if you notice strange behavior.  If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n",UTS_RELEASE,name.release);
 		getchar();
 	}
+	*/
 #endif /* __linux__ */
 #endif /* WIN32 */
 }
Index: rxtx/src/SerialImp.cpp
===================================================================
--- rxtx.orig/src/SerialImp.cpp	2010-06-03 23:39:27.166240572 -0400
+++ rxtx/src/SerialImp.cpp	2010-06-25 09:05:27.903692271 -0400
@@ -142,6 +142,7 @@
 #endif /* !__FreeBSD__ */
 #ifdef DEBUG
 	/* Lets let people who upgraded kernels know they may have problems */
+	/*
 	if (uname (&name) == -1)
 	{
 		report("RXTX WARNING:  cannot get system name\n");
@@ -153,6 +154,7 @@
 			name.release);
 		getchar();
 	}
+	*/
 #endif /* DEBUG */
 #endif /* __BEOS__ */
 #endif /* WIN32 */
