1da346fb7a
RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). It is based on the specification for Sun's Java Communications API, though while many of the class descriptions are the same the package used it not, since gnu.io is used instead. A certain amount of compatibility is intended with API, though this project should be considered as a fork and therefore compatible in spirit, but not in implementation.
15 lines
526 B
Text
15 lines
526 B
Text
$NetBSD: patch-src_I2CImp_c,v 1.1 2013/02/11 01:13:21 dsainty Exp $
|
|
|
|
UTS_RELEASE isn't even reliably available on Linux, let alone portable.
|
|
|
|
--- src/I2CImp.c.orig 2011-11-29 00:39:56.242521000 +1300
|
|
+++ src/I2CImp.c 2011-11-29 00:40:16.090521000 +1300
|
|
@@ -86,7 +86,7 @@
|
|
sigaction( SIGIO, NULL, &handler );
|
|
if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
|
|
#endif /* !__FreeBSD__ */
|
|
-#if defined(__linux__)
|
|
+#if 0
|
|
/* Lets let people who upgraded kernels know they may have problems */
|
|
if (uname (&name) == -1)
|
|
{
|