Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] uemacs: remove XCASE flag to allow musl builds
@ 2015-11-28 22:15 Alex Suykov
  2015-11-29 13:42 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Suykov @ 2015-11-28 22:15 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/e92/e929de08954684e275a2f682264551b6cb07886a/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
---
 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

diff --git a/package/uemacs/02-skip-xcase-termios-flag.patch b/package/uemacs/02-skip-xcase-termios-flag.patch
new file mode 100644
index 0000000..2cc5357
--- /dev/null
+++ b/package/uemacs/02-skip-xcase-termios-flag.patch
@@ -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 <alex.suykov@gmail.com>
+
+--- 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);
+ 
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] uemacs: remove XCASE flag to allow musl builds
  2015-11-28 22:15 [Buildroot] [PATCH] uemacs: remove XCASE flag to allow musl builds Alex Suykov
@ 2015-11-29 13:42 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-11-29 13:42 UTC (permalink / raw)
  To: buildroot

Dear Alex Suykov,

On Sun, 29 Nov 2015 00:15:53 +0200, Alex Suykov wrote:
> Fixes
> http://autobuild.buildroot.net/results/e92/e929de08954684e275a2f682264551b6cb07886a/
> 
> Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-29 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-28 22:15 [Buildroot] [PATCH] uemacs: remove XCASE flag to allow musl builds Alex Suykov
2015-11-29 13:42 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox