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

13 lines
464 B
Diff
Raw Normal View History

2022-03-11 16:03:32 +01:00
diff '--color=auto' -uNr node-v17.7.1.orig/deps/uv/src/unix/core.c node-v17.7.1/deps/uv/src/unix/core.c
--- node-v17.7.1.orig/deps/uv/src/unix/core.c 2022-03-11 20:20:41.457755317 +0530
+++ node-v17.7.1/deps/uv/src/unix/core.c 2022-03-11 20:21:28.417755299 +0530
@@ -1125,7 +1125,7 @@
2019-08-25 18:22:08 +02:00
/* No temp environment variables defined */
#if defined(__ANDROID__)
- buf = "/data/local/tmp";
+ buf = "@TERMUX_PREFIX@/tmp";
#else
buf = "/tmp";
#endif