uemacs: remove XCASE flag to allow musl builds
PATCH 1/1 uemacs: remove XCASE flag to allow musl builds
Fixes
http://autobuild.buildroot.net/results/e92/e929de08954684e275a2f682264551b6cb07886a/
Signed-off-by Alex Suykov <[email protected]>
--- package/uemacs/02-skip-xcase-termios-flag.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/uemacs/02-skip-xcase-termios-flag.patch
package/uemacs/02-skip-xcase-termios-flag.patch new file +16 -0
@@ -0,0 +1,16 @@ +From termios(3): "XCASE (not in POSIX; not supported under Linux)". +musl does not define it, and even if defined it's a no-op. + +Signed-off-by: Alex Suykov <[email protected]> + +--- a/posix.c ++++ b/posix.c +@@ -65,7 +65,7 @@ + ~(OPOST | ONLCR | OLCUC | OCRNL | ONOCR | ONLRET); + + /* No signal handling, no echo etc */ +- ntermios.c_lflag &= ~(ISIG | ICANON | XCASE | ECHO | ECHOE | ECHOK ++ ntermios.c_lflag &= ~(ISIG | ICANON | ECHO | ECHOE | ECHOK + | ECHONL | NOFLSH | TOSTOP | ECHOCTL | + ECHOPRT | ECHOKE | FLUSHO | PENDIN | IEXTEN); +
Signature · 1 line
2.6.2
Thomas Petazzoni
AppliedPATCH 1/1 uemacs: remove XCASE flag to allow musl builds
Dear Alex Suykov,
Quoted 8 lines · Alex Suykov
Fixes
http://autobuild.buildroot.net/results/e92/e929de08954684e275a2f682264551b6cb07886a/Signed-off-by Alex Suykov <[email protected]>--- package/uemacs/02-skip-xcase-termios-flag.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/uemacs/02-skip-xcase-termios-flag.patch
Applied, thanks. Could you send this patch (and the other existing patch) to the upstream project?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com