ndk-patches: fix paths.h patch

This commit is contained in:
Henrik Grimler 2020-07-09 18:19:11 +02:00
parent 0ef42ab604
commit 3e4b2343cd

View File

@ -1,5 +1,5 @@
--- ./usr/include/paths.h.orig 2020-01-17 23:41:34.485536389 +0000
+++ ./usr/include/paths.h 2020-01-17 23:54:08.657993083 +0000
--- ./usr/include/paths.h.orig 2020-07-09 16:14:26.230567649 +0000
+++ ./usr/include/paths.h 2020-07-09 16:15:16.387109516 +0000
@@ -40,7 +40,7 @@
#ifndef _PATH_BSHELL
@ -9,7 +9,7 @@
#endif
/** Path to the system console. */
@@ -63,0 +63,0 @@
@@ -63,3 +63,8 @@
/** Path to the calling process' tty. */
#define _PATH_TTY "/dev/tty"
@ -18,4 +18,3 @@
+#define _PATH_VARDB "@TERMUX_PREFIX@/var/db/"
+#define _PATH_VARRUN "@TERMUX_PREFIX@/var/run/"
+#define _PATH_VARTMP "@TERMUX_PREFIX@/var/tmp/"
+