diff --git a/disabled-packages/nodejs-current/build.sh b/disabled-packages/nodejs-current/build.sh index 8aed800aa..f93f849ac 100644 --- a/disabled-packages/nodejs-current/build.sh +++ b/disabled-packages/nodejs-current/build.sh @@ -1,9 +1,9 @@ # 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=8.1.0 +TERMUX_PKG_VERSION=8.1.4 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=6886d0891ee1a46c41f1095ffbbd6cb8871a1b18b61712b5bf7d6bf5018d64de +TERMUX_PKG_SHA256=5d54960fb3c5e794b784d15e9e85e3853e1189e5ae840f314bf2fc091fbb5c12 # 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. @@ -30,6 +30,7 @@ termux_step_configure () { export CXXFLAGS="-Os" unset CPPFLAGS LDFLAGS + if [ $TERMUX_ARCH = "arm" ]; then DEST_CPU="arm" elif [ $TERMUX_ARCH = "i686" ]; then diff --git a/disabled-packages/nodejs-current/deps-uv-uv.gyp.patch b/disabled-packages/nodejs-current/deps-uv-uv.gyp.patch index 3d41f9d0c..4db513926 100644 --- a/disabled-packages/nodejs-current/deps-uv-uv.gyp.patch +++ b/disabled-packages/nodejs-current/deps-uv-uv.gyp.patch @@ -1,6 +1,6 @@ -diff -u -r ../node-v8.1.0/deps/uv/uv.gyp ./deps/uv/uv.gyp ---- ../node-v8.1.0/deps/uv/uv.gyp 2017-06-08 12:31:22.000000000 +0200 -+++ ./deps/uv/uv.gyp 2017-06-12 12:12:47.631643674 +0200 +diff -u -r ../node-v8.1.4/deps/uv/uv.gyp ./deps/uv/uv.gyp +--- ../node-v8.1.4/deps/uv/uv.gyp 2017-07-11 05:48:01.000000000 +0200 ++++ ./deps/uv/uv.gyp 2017-07-19 01:25:10.988614742 +0200 @@ -45,12 +45,12 @@ { 'target_name': 'libuv', @@ -16,3 +16,12 @@ diff -u -r ../node-v8.1.0/deps/uv/uv.gyp ./deps/uv/uv.gyp 'conditions': [ ['OS != "win"', { 'defines': [ +@@ -253,7 +253,7 @@ + 'src/unix/linux-syscalls.h', + 'src/unix/pthread-fixes.c', + 'src/unix/android-ifaddrs.c', +- 'src/unix/pthread-barrier.c' ++ 'src/unix/pthread-barrier.c', + 'src/unix/procfs-exepath.c', + 'src/unix/sysinfo-loadavg.c', + 'src/unix/sysinfo-memory.c',