diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index eb7bc91e1..51f9353e6 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily TERMUX_PKG_LICENSE="MIT" # Note: package build may fail on Github Actions CI due to out-of-memory # condition. It should be built locally instead. -TERMUX_PKG_VERSION=14.8.0 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_VERSION=14.14.0 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=9b9e68e4e641ab099b3fe2d49308c65820eebe60ed733b5f8b07c67adef9f06d +TERMUX_PKG_SHA256=04e935f4bd6b1e91c4a491e18d4d7a797009c3760b950cdefb193c4c079df0e6 # 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 63a3cb90a..f23796927 100644 --- a/packages/nodejs/node.gyp.patch +++ b/packages/nodejs/node.gyp.patch @@ -1,10 +1,9 @@ -diff -u -r ../node-v13.13.0/node.gyp ./node.gyp ---- ../node-v13.13.0/node.gyp 2020-04-14 16:40:37.000000000 +0000 -+++ ./node.gyp 2020-04-19 20:09:14.831393000 +0000 -@@ -1095,101 +1095,6 @@ - } ], - ] - }, # specialize_node_d +--- ./node.gyp.orig 2020-10-17 18:07:04.114992036 +0000 ++++ ./node.gyp 2020-10-17 18:30:04.575629963 +0000 +@@ -1201,101 +1201,6 @@ + }], + ], + }, # fuzz_env - { - 'target_name': 'cctest', - 'type': 'executable', @@ -101,5 +100,5 @@ diff -u -r ../node-v13.13.0/node.gyp ./node.gyp - ], - }, # cctest - # TODO(joyeecheung): do not depend on node_lib, - # instead create a smaller static library node_lib_base that does + { + 'target_name': 'embedtest',