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

13 lines
599 B
Diff
Raw Normal View History

2022-03-26 17:43:05 +01:00
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
2022-03-11 16:03:32 +01:00
@@ -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;