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

13 lines
603 B
Diff
Raw Normal View History

2022-03-18 10:40:36 +01:00
diff '--color=auto' -uNr node-v16.14.2.orig/deps/v8/src/logging/log.cc node-v16.14.2/deps/v8/src/logging/log.cc
--- node-v16.14.2.orig/deps/v8/src/logging/log.cc 2022-03-18 15:06:21.641091189 +0530
+++ node-v16.14.2/deps/v8/src/logging/log.cc 2022-03-18 15:08:24.351091142 +0530
@@ -308,7 +308,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;