termux-packages/packages/libsqlite/sqlite3.c.patch

15 lines
388 B
Diff

--- sqlite-autoconf-3370000/sqlite3.c
+++ sqlite-autoconf-3370000.mod/sqlite3.c
@@ -47137,9 +47137,8 @@
0, /* getenv("TMP") */
0, /* getenv("TEMP") */
0, /* getenv("USERPROFILE") */
- "/var/tmp",
- "/usr/tmp",
- "/tmp",
+ "@TERMUX_PREFIX@/var/tmp",
+ "@TERMUX_PREFIX@/tmp",
".",
0 /* List terminator */
};