termux-packages/packages/nodejs/deps-v8-src-logging-log.cc.patch
2022-03-27 04:35:40 +00:00

13 lines
599 B
Diff

diff '--color=auto' -uNr node-v17.8.0.orig/deps/v8/src/logging/log.cc node-v17.8.0/deps/v8/src/logging/log.cc
--- node-v17.8.0.orig/deps/v8/src/logging/log.cc 2022-03-26 22:11:03.545459286 +0530
+++ node-v17.8.0/deps/v8/src/logging/log.cc 2022-03-26 22:12:08.765459261 +0530
@@ -309,7 +309,7 @@
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;