Browse Source

nodejs-current: Update from 9.3.0 to 9.4.0

android-5
Fredrik Fornwall 7 years ago
parent
commit
ab67007ff8
  1. 4
      packages/nodejs-current/build.sh
  2. 12
      packages/nodejs-current/deps-npm-lib-build.js.patch

4
packages/nodejs-current/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://nodejs.org/ 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_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications"
TERMUX_PKG_VERSION=9.3.0 TERMUX_PKG_VERSION=9.4.0
TERMUX_PKG_SHA256=b288075e2f09faf33046583271a4e85c34684b5b637973dd6eaa5445220c57cd TERMUX_PKG_SHA256=7503e1f0f81288ff6e56009c0f399c0b5ebfe6f446734c5beb2d45393b21b20c
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz 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 # 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 # linker, which does not use symbols of linked shared libraries when resolving

12
packages/nodejs-current/deps-npm-lib-build.js.patch

@ -1,12 +0,0 @@
diff -u -r ../node-v5.1.0/deps/npm/lib/build.js ./deps/npm/lib/build.js
--- ../node-v5.1.0/deps/npm/lib/build.js 2015-11-17 15:55:27.000000000 -0500
+++ ./deps/npm/lib/build.js 2015-11-17 19:01:33.061204729 -0500
@@ -223,6 +223,8 @@
function linkBin (from, to, gently, cb) {
if (process.platform !== 'win32') {
+ // Fix shebang paths in binary scripts:
+ require('child_process').spawn('termux-fix-shebang', [from])
return linkIfExists(from, to, gently, cb)
} else {
return cmdShimIfExists(from, to, cb)
Loading…
Cancel
Save