ndk: Add sys/ttydefault.h patch
This commit is contained in:
parent
315a0ef6f9
commit
29948174e3
14
ndk_patches/sys-ttydefault.h.patch
Normal file
14
ndk_patches/sys-ttydefault.h.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Needed by util-linux.
|
||||
|
||||
diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/ttydefaults.h ./usr/include/sys/ttydefaults.h
|
||||
--- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/sys/ttydefaults.h 2016-06-01 12:53:26.000000000 -0400
|
||||
+++ ./usr/include/sys/ttydefaults.h 2016-06-22 06:29:26.247578626 -0400
|
||||
@@ -46,7 +46,7 @@
|
||||
* Defaults on "first" open.
|
||||
*/
|
||||
#define TTYDEF_IFLAG (BRKINT | ICRNL | IMAXBEL | IXON | IXANY)
|
||||
-#define TTYDEF_OFLAG (OPOST | ONLCR | OXTABS)
|
||||
+#define TTYDEF_OFLAG (OPOST | ONLCR | XTABS)
|
||||
#define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
|
||||
#define TTYDEF_CFLAG (CREAD | CS8 | HUPCL)
|
||||
#define TTYDEF_SPEED (B9600)
|
Loading…
Reference in New Issue
Block a user