python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / setserial / 0002-tiocghayesesp-build-fix.patch
blob176a0c9e152aec4a34eb5fbf87f2f0c25a523fbb
1 [PATCH] setserial: fix build with 2.6.33+ kernel headers
3 linux/hayesesp.h got removed in 2.6.33, but some archs (like x86) still
4 define the TIOCGHAYESESP ioctl, breaking the build.
6 It's very unlikely to be of interest anymore, so just undef it.
8 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
9 ---
10 setserial.c | 5 +++++
11 1 file changed, 5 insertions(+)
13 Index: setserial-2.17/setserial.c
14 ===================================================================
15 --- setserial-2.17.orig/setserial.c
16 +++ setserial-2.17/setserial.c
17 @@ -24,6 +24,11 @@
18 #endif
19 #include <linux/serial.h>
21 +/* linux/hayesesp.h got removed in 2.6.33 but some archs (like x86)
22 + still define TIOCGHAYESESP. It's very unlikely to be of interest
23 + anymore, so just undef it */
24 +#undef TIOCGHAYESESP
26 #include "version.h"
28 static char version_str[] = "setserial version " SETSERIAL_VERSION ", "