sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / uemacs / 02-skip-xcase-termios-flag.patch
blob2cc53579c7146ac36d6bd6b72bde75c9be8b5b86
1 From termios(3): "XCASE (not in POSIX; not supported under Linux)".
2 musl does not define it, and even if defined it's a no-op.
4 Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
6 --- a/posix.c
7 +++ b/posix.c
8 @@ -65,7 +65,7 @@
9 ~(OPOST | ONLCR | OLCUC | OCRNL | ONOCR | ONLRET);
11 /* No signal handling, no echo etc */
12 - ntermios.c_lflag &= ~(ISIG | ICANON | XCASE | ECHO | ECHOE | ECHOK
13 + ntermios.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK
14 | ECHONL | NOFLSH | TOSTOP | ECHOCTL |
15 ECHOPRT | ECHOKE | FLUSHO | PENDIN | IEXTEN);