chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9867ff1
)
Add back TERMUX_PREFIX in patch
author
Fredrik Fornwall
<fredrik@fornwall.net>
Thu, 24 Dec 2015 08:21:22 +0000
(
03:21
-0500)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Thu, 24 Dec 2015 08:21:22 +0000
(
03:21
-0500)
ndk_patches/stdio.h.patch
patch
|
blob
|
blame
|
history
diff --git
a/ndk_patches/stdio.h.patch
b/ndk_patches/stdio.h.patch
index 2b92fae8df3bd28f377ea97febe45106e26b8a83..9155e0cc1adb6fcc659ed53a60b76fb8de1d9dc8 100644
(file)
--- a/
ndk_patches/stdio.h.patch
+++ b/
ndk_patches/stdio.h.patch
@@
-15,7
+15,7
@@
diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl
/* System V/ANSI C; this is the wrong way to do this, do *not* use these. */
#if __BSD_VISIBLE || __XPG_VISIBLE
-#define P_tmpdir "/tmp/"
-+#define P_tmpdir "
/data/data/com.termux/files/usr
/tmp/"
++#define P_tmpdir "
@TERMUX_PREFIX@
/tmp/"
#endif
#define L_tmpnam 1024 /* XXX must be == PATH_MAX */
#define TMP_MAX 308915776