diff --git a/disabled-packages/nodejs-current/build.sh b/disabled-packages/nodejs-current/build.sh index fd3c2b919..49216d794 100644 --- a/disabled-packages/nodejs-current/build.sh +++ b/disabled-packages/nodejs-current/build.sh @@ -1,9 +1,9 @@ -# status: Builds on aarch64 only +# status: Does not build 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_VERSION=7.4.0 +TERMUX_PKG_VERSION=7.6.0 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=69b76c86e6fc9914fa136089d8c28a4828c14aa8792cbdf946090a5a2afd25b6 +TERMUX_PKG_SHA256=809e80265e332fe1a8268e5a73eb219c356810fe86c69fd2d931c52e07211970 # 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/disabled-packages/nodejs-current/node.gyp.patch b/disabled-packages/nodejs-current/node.gyp.patch index d18d8a2f7..a10bec2b5 100644 --- a/disabled-packages/nodejs-current/node.gyp.patch +++ b/disabled-packages/nodejs-current/node.gyp.patch @@ -1,7 +1,7 @@ -diff -u -r ../node-v7.4.0/node.gyp ./node.gyp ---- ../node-v7.4.0/node.gyp 2017-01-04 12:42:03.000000000 -0500 -+++ ./node.gyp 2017-01-09 17:25:27.918417691 -0500 -@@ -863,78 +863,6 @@ +diff -u -r ../node-v7.6.0/node.gyp ./node.gyp +--- ../node-v7.6.0/node.gyp 2017-02-21 23:53:43.000000000 +0100 ++++ ./node.gyp 2017-02-24 22:34:31.607945917 +0100 +@@ -874,82 +874,6 @@ ], } ], ] @@ -35,7 +35,6 @@ diff -u -r ../node-v7.4.0/node.gyp ./node.gyp - 'HAVE_INSPECTOR=1', - ], - 'dependencies': [ -- 'deps/zlib/zlib.gyp:zlib', - 'v8_inspector_compress_protocol_json#host' - ], - 'include_dirs': [ @@ -48,6 +47,11 @@ diff -u -r ../node-v7.4.0/node.gyp ./node.gyp - 'test/cctest/test_inspector_socket_server.cc' - ], - 'conditions': [ +- [ 'node_shared_zlib=="false"', { +- 'dependencies': [ +- 'deps/zlib/zlib.gyp:zlib', +- ] +- }], - [ 'node_shared_openssl=="false"', { - 'dependencies': [ - 'deps/openssl/openssl.gyp:openssl'