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

13 lines
468 B
Diff

diff '--color=auto' -uNr node-v16.14.2.orig/deps/uv/src/unix/core.c node-v16.14.2/deps/uv/src/unix/core.c
--- node-v16.14.2.orig/deps/uv/src/unix/core.c 2022-03-18 15:06:20.191091189 +0530
+++ node-v16.14.2/deps/uv/src/unix/core.c 2022-03-18 15:07:54.421091153 +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