termux-packages/packages/nodejs/deps-v8-src-logging-log.cc.patch

13 lines
599 B
Diff
Raw Normal View History

2022-03-11 16:03:32 +01:00
diff '--color=auto' -uNr node-v17.7.1.orig/deps/v8/src/logging/log.cc node-v17.7.1/deps/v8/src/logging/log.cc
--- node-v17.7.1.orig/deps/v8/src/logging/log.cc 2022-03-11 20:20:42.837755317 +0530
+++ node-v17.7.1/deps/v8/src/logging/log.cc 2022-03-11 20:23:06.937755262 +0530
@@ -309,7 +309,7 @@
2019-08-25 18:22:08 +02:00
FILE* perf_output_handle_;
};
-const char PerfBasicLogger::kFilenameFormatString[] = "/tmp/perf-%d.map";
+const char PerfBasicLogger::kFilenameFormatString[] = "@TERMUX_PREFIX@/tmp/perf-%d.map";
// Extra space for the PID in the filename
const int PerfBasicLogger::kFilenameBufferPadding = 16;