diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index 516f63079..997a369fe 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -1,9 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/ TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications" TERMUX_PKG_LICENSE="MIT" -TERMUX_PKG_VERSION=12.3.1 +TERMUX_PKG_VERSION=12.4.0 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=ba2b50acffe67068f44e06e5c6938f9a391086d7f8386aea829a199db02d0bfe +TERMUX_PKG_SHA256=20b52366d3502c60d4aec0bd5052c841a94bf1cd5d74b2ea1e498c1a2ada8ce3 # 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. diff --git a/packages/nodejs/node.gyp.patch b/packages/nodejs/node.gyp.patch index ffc4d6fdf..f2f855ef9 100644 --- a/packages/nodejs/node.gyp.patch +++ b/packages/nodejs/node.gyp.patch @@ -1,7 +1,7 @@ -diff -u -r ../node-v12.1.0/node.gyp ./node.gyp ---- ../node-v12.1.0/node.gyp 2019-04-29 12:57:54.000000000 +0000 -+++ ./node.gyp 2019-05-05 20:54:54.823488546 +0000 -@@ -1037,97 +1037,6 @@ +diff -uNr node-v12.4.0/node.gyp node-v12.4.0.mod/node.gyp +--- node-v12.4.0/node.gyp 2019-06-04 14:57:31.000000000 +0300 ++++ node-v12.4.0.mod/node.gyp 2019-06-08 01:35:11.310854320 +0300 +@@ -1051,98 +1051,6 @@ } ], ] }, # specialize_node_d @@ -44,6 +44,7 @@ diff -u -r ../node-v12.1.0/node.gyp ./node.gyp - 'test/cctest/test_node_postmortem_metadata.cc', - 'test/cctest/test_environment.cc', - 'test/cctest/test_linked_binding.cc', +- 'test/cctest/test_per_process.cc', - 'test/cctest/test_platform.cc', - 'test/cctest/test_report_util.cc', - 'test/cctest/test_traced_value.cc',