Checking patch sysdeps/unix/sysv/linux/tcgetattr.c... Checking patch sysdeps/unix/sysv/linux/tcsetattr.c... Hunk #1 succeeded at 39 (offset -6 lines). Checking patch sysdeps/unix/sysv/linux/termios-kernel-consts.sym... error: sysdeps/unix/sysv/linux/termios-kernel-consts.sym: No such file or directory Checking patch sysdeps/unix/sysv/linux/termios_internals.h... error: while searching for: struct termios2 { tcflag_t c_iflag; /* input mode flags */ tcflag_t c_oflag; /* output mode flags */ tcflag_t c_cflag; /* control mode flags */ tcflag_t c_lflag; /* local mode flags */ #if KERNEL_TERMIOS2_CC_OFFSET < KERNEL_TERMIOS2_LINE_OFFSET cc_t c_cc[_TERMIOS2_NCCS]; /* control characters */ cc_t c_line; /* line discipline */ #else cc_t c_line; /* line discipline */ cc_t c_cc[_TERMIOS2_NCCS]; /* control characters */ #endif speed_t c_ispeed; /* input speed */ speed_t c_ospeed; /* output speed */ }; /* ---- Application interface definitions ---- */ error: patch failed: sysdeps/unix/sysv/linux/termios_internals.h:51 error: sysdeps/unix/sysv/linux/termios_internals.h: patch does not apply