summaryrefslogtreecommitdiff
path: root/comms/java-rxtx/patches/patch-src_I2CImp_c
blob: af605e991e2e68373932fbb14a3fdcc80252736c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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)
 	{