diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index bc50859c9..2bcb2871c 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -1,8 +1,8 @@ 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=11.7.0 -TERMUX_PKG_SHA256=07febdd8722f6e24ad0cb9360e183baa75a07cad390c14896e3d97027e0fada2 +TERMUX_PKG_VERSION=11.8.0 +TERMUX_PKG_SHA256=7041550b94211d65ef0bee76c02bd5ddfdd9122c6d4b289323194edbfbe447a0 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz # 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 diff --git a/packages/nodejs/node.gyp.patch b/packages/nodejs/node.gyp.patch index 900fdcc60..ede21cee3 100644 --- a/packages/nodejs/node.gyp.patch +++ b/packages/nodejs/node.gyp.patch @@ -1,7 +1,7 @@ -diff -u -r ../node-v11.0.0/node.gyp ./node.gyp ---- ../node-v11.0.0/node.gyp 2018-10-23 15:59:38.000000000 +0000 -+++ ./node.gyp 2018-10-25 20:46:25.481050534 +0000 -@@ -848,78 +848,7 @@ +diff -u -r ../node-v11.8.0/node.gyp ./node.gyp +--- ../node-v11.8.0/node.gyp 2019-01-24 23:19:08.000000000 +0000 ++++ ./node.gyp 2019-01-27 08:15:48.080455307 +0000 +@@ -945,101 +945,7 @@ ], } ], ] @@ -75,6 +75,29 @@ diff -u -r ../node-v11.0.0/node.gyp ./node.gyp - 'OTHER_LDFLAGS': [ '-Wl,-rpath,@loader_path', ], - }, - }], +- [ 'node_report=="true"', { +- 'defines': [ +- 'NODE_REPORT', +- 'NODE_ARCH="<(target_arch)"', +- 'NODE_PLATFORM="<(OS)"', +- ], +- 'conditions': [ +- ['OS=="win"', { +- 'libraries': [ +- 'dbghelp.lib', +- 'Netapi32.lib', +- 'PsApi.lib', +- 'Ws2_32.lib', +- ], +- 'dll_files': [ +- 'dbghelp.dll', +- 'Netapi32.dll', +- 'PsApi.dll', +- 'Ws2_32.dll', +- ], +- }], +- ], +- }], - ], - }, # cctest + } # rename_node_bin_win