nodejs: Update from 6.11.5 to 8.9.0
[termux-packages] / packages / nodejs / fix-hardcoded-paths.patch
index aad0b46..9628692 100644 (file)
@@ -1,7 +1,7 @@
-diff -uNr node-v6.11.3/deps/uv/src/unix/core.c node-v6.11.3.mod/deps/uv/src/unix/core.c
---- node-v6.11.3/deps/uv/src/unix/core.c       2017-09-05 20:34:50.000000000 +0300
-+++ node-v6.11.3.mod/deps/uv/src/unix/core.c   2017-09-14 15:58:14.222856752 +0300
-@@ -1105,7 +1105,9 @@
+diff -uNr node-v8.4.0/deps/uv/src/unix/core.c node-v8.4.0.mod/deps/uv/src/unix/core.c
+--- node-v8.4.0/deps/uv/src/unix/core.c        2017-08-15 19:42:28.000000000 +0300
++++ node-v8.4.0.mod/deps/uv/src/unix/core.c    2017-09-14 16:13:27.292856099 +0300
+@@ -1112,7 +1112,9 @@
  
    /* No temp environment variables defined */
    #if defined(__ANDROID__)
@@ -12,31 +12,22 @@ diff -uNr node-v6.11.3/deps/uv/src/unix/core.c node-v6.11.3.mod/deps/uv/src/unix
    #else
      buf = "/tmp";
    #endif
-diff -uNr node-v6.11.3/deps/v8/src/flag-definitions.h node-v6.11.3.mod/deps/v8/src/flag-definitions.h
---- node-v6.11.3/deps/v8/src/flag-definitions.h        2017-09-14 15:53:38.302856950 +0300
-+++ node-v6.11.3.mod/deps/v8/src/flag-definitions.h    2017-09-14 15:54:54.082856895 +0300
-@@ -862,7 +862,7 @@
- DEFINE_STRING(testing_serialization_file, "C:\\Windows\\Temp\\serdes",
-               "file in which to testing_serialize heap")
- #else
--DEFINE_STRING(testing_serialization_file, "/tmp/serdes",
-+DEFINE_STRING(testing_serialization_file, "@TERMUX_PREFIX@/tmp/serdes",
-               "file in which to serialize heap")
- #endif
-@@ -1047,7 +1047,7 @@
- DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space)
- DEFINE_BOOL(perf_prof_debug_info, false,
-             "Enable debug info for perf linux profiler (experimental).")
+diff -uNr node-v8.4.0/deps/v8/src/flag-definitions.h node-v8.4.0.mod/deps/v8/src/flag-definitions.h
+--- node-v8.4.0/deps/v8/src/flag-definitions.h 2017-08-15 19:42:30.000000000 +0300
++++ node-v8.4.0.mod/deps/v8/src/flag-definitions.h     2017-09-14 16:12:34.462856137 +0300
+@@ -1203,7 +1203,7 @@
+ DEFINE_BOOL(perf_prof_unwinding_info, false,
+             "Enable unwinding info for perf linux profiler (experimental).")
+ DEFINE_IMPLICATION(perf_prof, perf_prof_unwinding_info)
 -DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__",
 +DEFINE_STRING(gc_fake_mmap, "@TERMUX_PREFIX@/tmp/__v8_gc__",
                "Specify the name of the file for fake gc mmap used in ll_prof")
  DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.")
  DEFINE_BOOL(log_timer_events, false,
-diff -uNr node-v6.11.3/deps/v8/src/log.cc node-v6.11.3.mod/deps/v8/src/log.cc
---- node-v6.11.3/deps/v8/src/log.cc    2017-09-05 20:34:52.000000000 +0300
-+++ node-v6.11.3.mod/deps/v8/src/log.cc        2017-09-14 15:55:20.192856877 +0300
-@@ -245,7 +245,7 @@
+diff -uNr node-v8.4.0/deps/v8/src/log.cc node-v8.4.0.mod/deps/v8/src/log.cc
+--- node-v8.4.0/deps/v8/src/log.cc     2017-08-15 19:42:31.000000000 +0300
++++ node-v8.4.0.mod/deps/v8/src/log.cc 2017-09-14 16:11:05.192856201 +0300
+@@ -233,7 +233,7 @@
    FILE* perf_output_handle_;
  };