nodejs: update to v17.7.1
This commit is contained in:
parent
e5b54ebb84
commit
b7fc720801
@ -1,8 +1,7 @@
|
||||
|
||||
diff -uNr ./deps/uv/src/unix/fs.c ./deps/uv/src/unix/fs.c.mod
|
||||
--- ./deps/uv/src/unix/fs.c 2021-06-03 07:15:30.000000000 +0530
|
||||
+++ ./deps/uv/src/unix/fs.c.mod 2021-06-18 20:05:49.675642773 +0530
|
||||
@@ -1247,6 +1247,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/uv/src/unix/fs.c node-v17.7.1/deps/uv/src/unix/fs.c
|
||||
--- node-v17.7.1.orig/deps/uv/src/unix/fs.c 2022-03-11 20:20:41.457755317 +0530
|
||||
+++ node-v17.7.1/deps/uv/src/unix/fs.c 2022-03-11 20:21:05.187755308 +0530
|
||||
@@ -1339,6 +1339,7 @@
|
||||
#endif /* !__linux__ */
|
||||
}
|
||||
|
||||
@ -10,7 +9,7 @@ diff -uNr ./deps/uv/src/unix/fs.c ./deps/uv/src/unix/fs.c.mod
|
||||
#ifdef FICLONE
|
||||
if (req->flags & UV_FS_COPYFILE_FICLONE ||
|
||||
req->flags & UV_FS_COPYFILE_FICLONE_FORCE) {
|
||||
@@ -1267,6 +1268,7 @@
|
||||
@@ -1359,6 +1360,7 @@
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/
|
||||
TERMUX_PKG_DESCRIPTION="Open Source, cross-platform JavaScript runtime environment"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="Yaksh Bariya <yakshbari4@gmail.com>"
|
||||
TERMUX_PKG_VERSION=17.6.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_VERSION=17.7.1
|
||||
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=ea6aaa70aba9c974ee145f19af36e7edd06b07017b4b2c697e337812080d83fd
|
||||
TERMUX_PKG_SHA256=7864b749fb7480a6a9084f4dffe601f17c739e42f178182edc6a61b4a67608a9
|
||||
# Note that we do not use a shared libuv to avoid an issue with the Android
|
||||
# linker, which does not use symbols of linked shared libraries when resolving
|
||||
# symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462.
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -uNr ./deps/uv/src/unix/core.c ./deps/uv/src/unix/core.c.mod
|
||||
--- ./deps/uv/src/unix/core.c 2021-06-03 07:15:30.000000000 +0530
|
||||
+++ ./deps/uv/src/unix/core.c.mod 2021-06-18 20:10:13.705642672 +0530
|
||||
@@ -1116,7 +1116,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/uv/src/unix/core.c node-v17.7.1/deps/uv/src/unix/core.c
|
||||
--- node-v17.7.1.orig/deps/uv/src/unix/core.c 2022-03-11 20:20:41.457755317 +0530
|
||||
+++ node-v17.7.1/deps/uv/src/unix/core.c 2022-03-11 20:21:28.417755299 +0530
|
||||
@@ -1125,7 +1125,7 @@
|
||||
|
||||
/* No temp environment variables defined */
|
||||
#if defined(__ANDROID__)
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- ./deps/uv/src/unix/process.c 2021-09-10 22:55:12.000000000 +0530
|
||||
+++ ./deps/uv/src/unix/process.c.mod 2021-09-11 10:27:22.239600280 +0530
|
||||
@@ -283,23 +283,6 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/uv/src/unix/process.c node-v17.7.1/deps/uv/src/unix/process.c
|
||||
--- node-v17.7.1.orig/deps/uv/src/unix/process.c 2022-03-11 20:20:41.467755317 +0530
|
||||
+++ node-v17.7.1/deps/uv/src/unix/process.c 2022-03-11 20:21:55.007755289 +0530
|
||||
@@ -303,23 +303,6 @@
|
||||
if (options->cwd != NULL && chdir(options->cwd))
|
||||
uv__write_errno(error_fd);
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./deps/uv/uv.gyp 2021-09-12 08:37:13.451586303 +0530
|
||||
+++ ./deps/uv/uv.gyp.mod 2021-09-12 08:37:58.344924108 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/uv/uv.gyp node-v17.7.1/deps/uv/uv.gyp
|
||||
--- node-v17.7.1.orig/deps/uv/uv.gyp 2022-03-11 20:20:41.497755317 +0530
|
||||
+++ node-v17.7.1/deps/uv/uv.gyp 2022-03-11 20:22:19.347755280 +0530
|
||||
@@ -40,7 +40,7 @@
|
||||
{
|
||||
'target_name': 'libuv',
|
||||
@ -18,11 +19,11 @@
|
||||
'conditions': [
|
||||
['OS == "linux"', {
|
||||
'defines': [ '_POSIX_C_SOURCE=200112' ],
|
||||
@@ -262,6 +262,7 @@
|
||||
@@ -247,6 +247,7 @@
|
||||
'src/unix/procfs-exepath.c',
|
||||
'src/unix/random-getrandom.c',
|
||||
'src/unix/random-sysctl-linux.c',
|
||||
+ 'src/unix/epoll.c',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [ '-ldl' ],
|
||||
'libraries': [ '-ldl', '-lrt' ],
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- ./deps/v8/src/flags/flag-definitions.h 2021-06-03 07:15:31.000000000 +0530
|
||||
+++ ./deps/v8/src/flags/flag-definitions.h.mod 2021-06-18 20:24:38.915642342 +0530
|
||||
@@ -1842,7 +1842,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/v8/src/flags/flag-definitions.h node-v17.7.1/deps/v8/src/flags/flag-definitions.h
|
||||
--- node-v17.7.1.orig/deps/v8/src/flags/flag-definitions.h 2022-03-11 20:20:42.517755317 +0530
|
||||
+++ node-v17.7.1/deps/v8/src/flags/flag-definitions.h 2022-03-11 20:22:44.547755270 +0530
|
||||
@@ -2026,7 +2026,7 @@
|
||||
#undef DEFINE_PERF_PROF_BOOL
|
||||
#undef DEFINE_PERF_PROF_IMPLICATION
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- ./deps/v8/src/logging/log.cc 2021-06-03 07:15:31.000000000 +0530
|
||||
+++ ./deps/v8/src/logging/log.cc.mod 2021-06-18 20:27:34.605642275 +0530
|
||||
@@ -291,7 +291,7 @@
|
||||
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 @@
|
||||
FILE* perf_output_handle_;
|
||||
};
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./deps/v8/src/trap-handler/trap-handler.h 2021-11-30 19:26:35.000000000 +0530
|
||||
+++ ./deps/v8/src/trap-handler/trap-handler.h.mod 2021-12-01 19:12:48.402386879 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/v8/src/trap-handler/trap-handler.h node-v17.7.1/deps/v8/src/trap-handler/trap-handler.h
|
||||
--- node-v17.7.1.orig/deps/v8/src/trap-handler/trap-handler.h 2022-03-11 20:20:43.317755317 +0530
|
||||
+++ node-v17.7.1/deps/v8/src/trap-handler/trap-handler.h 2022-03-11 20:23:32.047755252 +0530
|
||||
@@ -17,23 +17,7 @@
|
||||
namespace internal {
|
||||
namespace trap_handler {
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./deps/uv/src/unix/sysinfo-memory.c 2021-06-03 07:15:30.000000000 +0530
|
||||
+++ ./deps/uv/src/unix/sysinfo-memory.c.mod 2021-06-18 20:31:00.255642197 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/deps/uv/src/unix/sysinfo-memory.c node-v17.7.1/deps/uv/src/unix/sysinfo-memory.c
|
||||
--- node-v17.7.1.orig/deps/uv/src/unix/sysinfo-memory.c 2022-03-11 20:20:41.477755317 +0530
|
||||
+++ node-v17.7.1/deps/uv/src/unix/sysinfo-memory.c 2022-03-11 20:23:56.617755243 +0530
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/sysinfo.h>
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- ./lib/child_process.js 2021-06-03 07:15:32.000000000 +0530
|
||||
+++ ./lib/child_process.js.mod 2021-06-18 20:32:47.215642156 +0530
|
||||
@@ -520,7 +520,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/lib/child_process.js node-v17.7.1/lib/child_process.js
|
||||
--- node-v17.7.1.orig/lib/child_process.js 2022-03-11 20:20:44.777755316 +0530
|
||||
+++ node-v17.7.1/lib/child_process.js 2022-03-11 20:24:38.277755227 +0530
|
||||
@@ -589,7 +589,7 @@
|
||||
if (typeof options.shell === 'string')
|
||||
file = options.shell;
|
||||
else if (process.platform === 'android')
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./lib/os.js 2021-06-03 07:15:32.000000000 +0530
|
||||
+++ ./lib/os.js.mod 2021-06-18 20:34:28.215642118 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/lib/os.js node-v17.7.1/lib/os.js
|
||||
--- node-v17.7.1.orig/lib/os.js 2022-03-11 20:20:44.907755316 +0530
|
||||
+++ node-v17.7.1/lib/os.js 2022-03-11 20:25:04.067755217 +0530
|
||||
@@ -183,7 +183,7 @@
|
||||
path = safeGetenv('TMPDIR') ||
|
||||
safeGetenv('TMP') ||
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- ./node.gyp.orig 2021-09-13 15:57:45.411848965 +0530
|
||||
+++ ./node.gyp 2021-09-13 15:58:53.811848939 +0530
|
||||
@@ -340,6 +340,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/node.gyp node-v17.7.1/node.gyp
|
||||
--- node-v17.7.1.orig/node.gyp 2022-03-11 20:20:44.917755316 +0530
|
||||
+++ node-v17.7.1/node.gyp 2022-03-11 20:25:28.777755208 +0530
|
||||
@@ -436,6 +436,7 @@
|
||||
|
||||
'include_dirs': [
|
||||
'src',
|
||||
@ -8,7 +9,7 @@
|
||||
'<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
|
||||
],
|
||||
'dependencies': [
|
||||
@@ -1061,162 +1062,6 @@
|
||||
@@ -1158,162 +1159,6 @@
|
||||
}],
|
||||
],
|
||||
}, # fuzz_env
|
||||
@ -171,7 +172,7 @@
|
||||
|
||||
{
|
||||
'target_name': 'overlapped-checker',
|
||||
@@ -1295,59 +1140,13 @@
|
||||
@@ -1392,59 +1237,13 @@
|
||||
'Ws2_32.lib',
|
||||
],
|
||||
}],
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./src/debug_utils.cc 2021-09-10 22:55:14.000000000 +0530
|
||||
+++ ./src/debug_utils.cc.mod 2021-09-15 13:24:35.606133999 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/src/debug_utils.cc node-v17.7.1/src/debug_utils.cc
|
||||
--- node-v17.7.1.orig/src/debug_utils.cc 2022-03-11 20:20:44.967755316 +0530
|
||||
+++ node-v17.7.1/src/debug_utils.cc 2022-03-11 20:25:53.537755198 +0530
|
||||
@@ -500,7 +500,7 @@
|
||||
|
||||
WriteConsoleW(handle, wbuf.data(), n, nullptr, nullptr);
|
||||
|
@ -1,11 +1,12 @@
|
||||
--- ./src/node_internals.h 2021-06-03 07:15:32.000000000 +0530
|
||||
+++ ./src/node_internals.h.mod 2021-06-18 20:49:41.375641769 +0530
|
||||
@@ -286,7 +286,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/src/node_internals.h node-v17.7.1/src/node_internals.h
|
||||
--- node-v17.7.1.orig/src/node_internals.h 2022-03-11 20:20:45.097755316 +0530
|
||||
+++ node-v17.7.1/src/node_internals.h 2022-03-11 20:26:16.297755190 +0530
|
||||
@@ -281,7 +281,7 @@
|
||||
|
||||
// Functions defined in node.cc that are exposed via the bootstrapper object
|
||||
|
||||
-#if defined(__POSIX__) && !defined(__ANDROID__) && !defined(__CloudABI__)
|
||||
+#if defined(__POSIX__) && !defined(__CloudABI__)
|
||||
#define NODE_IMPLEMENTS_POSIX_CREDENTIALS 1
|
||||
#endif // __POSIX__ && !defined(__ANDROID__) && !defined(__CloudABI__)
|
||||
#endif // defined(__POSIX__) && !defined(__ANDROID__) && !defined(__CloudABI__)
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./src/node_main.cc 2021-06-03 07:15:32.000000000 +0530
|
||||
+++ ./src/node_main.cc.mod 2021-06-18 21:13:57.512327727 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/src/node_main.cc node-v17.7.1/src/node_main.cc
|
||||
--- node-v17.7.1.orig/src/node_main.cc 2022-03-11 20:20:45.097755316 +0530
|
||||
+++ node-v17.7.1/src/node_main.cc 2022-03-11 20:26:39.057755181 +0530
|
||||
@@ -124,6 +124,10 @@
|
||||
// calls elsewhere in the program (e.g., any logging from V8.)
|
||||
setvbuf(stdout, nullptr, _IONBF, 0);
|
||||
|
@ -1,5 +1,6 @@
|
||||
--- ./tools/v8_gypfiles/toolchain.gypi 2021-09-15 07:18:39.300327067 +0530
|
||||
+++ ./tools/v8_gypfiles/toolchain.gypi.mod 2021-09-15 07:18:22.990327073 +0530
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/tools/v8_gypfiles/toolchain.gypi node-v17.7.1/tools/v8_gypfiles/toolchain.gypi
|
||||
--- node-v17.7.1.orig/tools/v8_gypfiles/toolchain.gypi 2022-03-11 20:20:49.617755314 +0530
|
||||
+++ node-v17.7.1/tools/v8_gypfiles/toolchain.gypi 2022-03-11 20:27:01.567755172 +0530
|
||||
@@ -62,7 +62,7 @@
|
||||
'mips_use_msa%': 0,
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
--- ./tools/v8_gypfiles/v8.gyp.orig 2021-10-20 22:03:24.000000000 +0530
|
||||
+++ ./tools/v8_gypfiles/v8.gyp 2021-10-27 17:35:32.672294375 +0530
|
||||
@@ -1116,6 +1116,7 @@
|
||||
diff '--color=auto' -uNr node-v17.7.1.orig/tools/v8_gypfiles/v8.gyp node-v17.7.1/tools/v8_gypfiles/v8.gyp
|
||||
--- node-v17.7.1.orig/tools/v8_gypfiles/v8.gyp 2022-03-11 20:20:49.617755314 +0530
|
||||
+++ node-v17.7.1/tools/v8_gypfiles/v8.gyp 2022-03-11 20:27:25.317755163 +0530
|
||||
@@ -1092,6 +1092,7 @@
|
||||
'<(V8_ROOT)/src/base/platform/platform-posix.h',
|
||||
'<(V8_ROOT)/src/base/platform/platform-posix-time.cc',
|
||||
'<(V8_ROOT)/src/base/platform/platform-posix-time.h',
|
||||
@ -8,7 +9,7 @@
|
||||
],
|
||||
'link_settings': {
|
||||
'target_conditions': [
|
||||
@@ -1623,7 +1624,12 @@
|
||||
@@ -1581,7 +1582,12 @@
|
||||
}],
|
||||
['clang or OS!="win"', {
|
||||
'conditions': [
|
||||
|
Loading…
Reference in New Issue
Block a user