gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / python / 016-serial-ioctl-workaround.patch
blob80ed65e39a9609e6dca1aad6bf97dcca308e255b
1 Serial ioctl() workaround
3 The ioctls.h of some architectures (notably xtensa) references structs from
4 linux/serial.h. Make sure to include this header as well.
6 Also, undef TIOCTTYGSTRUCT that require reference to internal kernel tty_struct,
7 but isn't actually referenced in modern kernels.
9 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
10 ---
11 Index: b/Modules/termios.c
12 ===================================================================
13 --- a/Modules/termios.c
14 +++ b/Modules/termios.c
15 @@ -16,7 +16,9 @@
16 * so this needs to be included first on that platform. */
17 #include <termio.h>
18 #endif
19 +#include <linux/serial.h>
20 #include <sys/ioctl.h>
21 +#undef TIOCTTYGSTRUCT
23 /* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR,
24 * MDTR, MRI, and MRTS (appearantly used internally by some things