termux-packages/packages/nodejs/deps-uv-src-unix-core.c.patch

13 lines
464 B
Diff

diff '--color=auto' -uNr node-v17.8.0.orig/deps/uv/src/unix/core.c node-v17.8.0/deps/uv/src/unix/core.c
--- node-v17.8.0.orig/deps/uv/src/unix/core.c 2022-03-26 22:11:02.595459286 +0530
+++ node-v17.8.0/deps/uv/src/unix/core.c 2022-03-26 22:11:54.085459266 +0530
@@ -1125,7 +1125,7 @@
/* No temp environment variables defined */
#if defined(__ANDROID__)
- buf = "/data/local/tmp";
+ buf = "@TERMUX_PREFIX@/tmp";
#else
buf = "/tmp";
#endif