chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nodejs: Link to libstdc++.so instead of stlport
[termux-packages]
/
ndk_patches
/
stdio.h.patch
diff --git
a/ndk_patches/stdio.h.patch
b/ndk_patches/stdio.h.patch
index c64fda15602331ac02862c665403fa1893ee8ea7..325fcf3cd097ac30657c3bd999f2e4c7f53e0c3e 100644
(file)
--- a/
ndk_patches/stdio.h.patch
+++ b/
ndk_patches/stdio.h.patch
@@
-38,7
+38,7
@@
diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl
+
+/* Used by perl, fish, and others */
+static char* ctermid(char* s) {
+
+/* Used by perl, fish, and others */
+static char* ctermid(char* s) {
-+ if (s == 0) return "/dev/tty";
++ if (s == 0) return
(char*)
"/dev/tty";
+ strcpy(s, "/dev/tty");
+ return s;
+}
+ strcpy(s, "/dev/tty");
+ return s;
+}