ndk-patches: remove asm-generic-termbits.h patch
If this is still needed (see issue https://github.com/termux/termux-packages/issues/1359) then we will have to workaround it in some other way.
This commit is contained in:
parent
e63e862a82
commit
cb783c984e
|
@ -1,11 +0,0 @@
|
|||
diff -u -r /home/builder/lib/android-ndk/sysroot/usr/include/asm-generic/termbits.h ./usr/include/asm-generic/termbits.h
|
||||
--- /home/builder/lib/android-ndk/sysroot/usr/include/asm-generic/termbits.h 2018-09-10 17:37:50.000000000 +0000
|
||||
+++ ./usr/include/asm-generic/termbits.h 2019-01-16 04:54:01.117253378 +0000
|
||||
@@ -190,5 +190,6 @@
|
||||
#define TCIOFLUSH 2
|
||||
#define TCSANOW 0
|
||||
#define TCSADRAIN 1
|
||||
-#define TCSAFLUSH 2
|
||||
+/* TCSAFLUSH is patched to be TCSANOW in Termux to work around Android SELinux rule */
|
||||
+#define TCSAFLUSH 0
|
||||
#endif
|
Loading…
Reference in New Issue