updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / librxtx-arduino / utsrelease.patch
bloba38c02ed7c89e34d74d02cb270cf772f20a719c0
1 diff -ur a/rxtx-2.2pre2/src/I2CImp.c b/rxtx-2.2pre2/src/I2CImp.c
2 --- a/rxtx-2.2pre2/src/I2CImp.c 2007-04-26 08:26:05.000000000 +0300
3 +++ b/rxtx-2.2pre2/src/I2CImp.c 2010-04-25 16:01:06.000000000 +0300
4 @@ -94,6 +94,7 @@
5 # include <linux/types.h> /* fix for linux-2.3.4? kernels */
6 # include <linux/serial.h>
7 # include <linux/version.h>
8 +# include <generated/utsrelease.h>
9 #endif
11 extern int errno;
12 diff -ur a/rxtx-2.2pre2/src/RawImp.c b/rxtx-2.2pre2/src/RawImp.c
13 --- a/rxtx-2.2pre2/src/RawImp.c 2007-11-19 00:32:42.000000000 +0200
14 +++ b/rxtx-2.2pre2/src/RawImp.c 2010-04-25 16:00:59.000000000 +0300
15 @@ -98,6 +98,7 @@
16 # include <linux/types.h> /* fix for linux-2.3.4? kernels */
17 # include <linux/serial.h>
18 # include <linux/version.h>
19 +# include <generated/utsrelease.h>
20 #endif
21 #ifndef __APPLE__ /* dima */
22 #ifndef PPC
23 diff -ur a/rxtx-2.2pre2/src/RS485Imp.c b/rxtx-2.2pre2/src/RS485Imp.c
24 --- a/rxtx-2.2pre2/src/RS485Imp.c 2007-04-26 08:26:05.000000000 +0300
25 +++ b/rxtx-2.2pre2/src/RS485Imp.c 2010-04-25 16:01:16.000000000 +0300
26 @@ -94,6 +94,7 @@
27 # include <linux/types.h> /* fix for linux-2.3.4? kernels */
28 # include <linux/serial.h>
29 # include <linux/version.h>
30 +# include <generated/utsrelease.h>
31 #endif
33 extern int errno;