1 diff -Naur rxtx-2.2pre2.orig/src/I2CImp.c rxtx-2.2pre2/src/I2CImp.c
2 --- rxtx-2.2pre2.orig/src/I2CImp.c 2007-04-26 07:26:05.000000000 +0200
3 +++ rxtx-2.2pre2/src/I2CImp.c 2013-08-10 13:28:54.690313710 +0200
5 sigaction( SIGIO, NULL, &handler );
6 if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
7 #endif /* !__FreeBSD__ */
8 -#if defined(__linux__)
9 +#if defined(DEBUG) && defined(__linux__) && defined(UTS_RELEASE)
10 /* Lets let people who upgraded kernels know they may have problems */
11 if (uname (&name) == -1)
13 diff -Naur rxtx-2.2pre2.orig/src/RawImp.c rxtx-2.2pre2/src/RawImp.c
14 --- rxtx-2.2pre2.orig/src/RawImp.c 2007-11-18 23:32:42.000000000 +0100
15 +++ rxtx-2.2pre2/src/RawImp.c 2013-08-10 13:28:54.703647364 +0200
17 sigaction( SIGIO, NULL, &handler );
18 if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
19 #endif /* !__FreeBSD__ */
20 -#if defined(__linux__)
21 +#if defined(DEBUG) && defined(__linux__) && defined(UTS_RELEASE)
22 /* Lets let people who upgraded kernels know they may have problems */
23 if (uname (&name) == -1)
25 diff -Naur rxtx-2.2pre2.orig/src/RS485Imp.c rxtx-2.2pre2/src/RS485Imp.c
26 --- rxtx-2.2pre2.orig/src/RS485Imp.c 2007-04-26 07:26:05.000000000 +0200
27 +++ rxtx-2.2pre2/src/RS485Imp.c 2013-08-10 13:28:54.706980778 +0200
29 sigaction( SIGIO, NULL, &handler );
30 if( !handler.sa_handler ) signal( SIGIO, SIG_IGN );
31 #endif /* !__FreeBSD__ */
32 -#if defined(__linux__)
33 +#if defined(DEBUG) && defined(__linux__) && defined(UTS_RELEASE)
34 /* Lets let people who upgraded kernels know they may have problems */
35 if (uname (&name) == -1)