Browse Source

Update nodejs-lts from 12.14.1 to 12.16.1

build-on-device
Fredrik Fornwall 5 years ago
parent
commit
9bd4af81bb
  1. 5
      packages/nodejs-lts/build.sh
  2. 9
      packages/nodejs-lts/deps-uv-uv.gyp.patch
  3. 10
      packages/nodejs-lts/node.gyp.patch

5
packages/nodejs-lts/build.sh

@ -1,10 +1,9 @@
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=12.14.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=12.16.1
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=877b4b842318b0e09bc754faf7343f2f097f0fc4f88ab9ae57cf9944e88e7adb
TERMUX_PKG_SHA256=0a95845ba02c46102b5671d0c5732460073f2d397488337e18d1fc30146d412d
# 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.

9
packages/nodejs-lts/deps-uv-uv.gyp.patch

@ -19,12 +19,3 @@ diff -u -r ../node-v12.14.0/deps/uv/uv.gyp ./deps/uv/uv.gyp
'conditions': [
['OS == "linux"', {
'defines': [ '_POSIX_C_SOURCE=200112' ],
@@ -261,6 +261,8 @@
'src/unix/pthread-fixes.c',
'src/unix/android-ifaddrs.c',
'src/unix/procfs-exepath.c',
+ 'src/unix/random-getrandom.c',
+ 'src/unix/random-sysctl.c',
'src/unix/sysinfo-loadavg.c',
'src/unix/sysinfo-memory.c',
],

10
packages/nodejs-lts/node.gyp.patch

@ -1,7 +1,7 @@
diff -u -r ../node-v12.9.0/node.gyp ./node.gyp
--- ../node-v12.9.0/node.gyp 2019-08-20 17:14:52.000000000 +0000
+++ ./node.gyp 2019-08-24 20:21:21.471982543 +0000
@@ -1062,107 +1062,6 @@
diff -u -r ../node-v12.16.1/node.gyp ./node.gyp
--- ../node-v12.16.1/node.gyp 2020-02-18 05:08:36.000000000 +0000
+++ ./node.gyp 2020-02-22 23:09:43.459071000 +0000
@@ -1076,109 +1076,6 @@
} ],
]
}, # specialize_node_d
@ -12,6 +12,7 @@ diff -u -r ../node-v12.9.0/node.gyp ./node.gyp
- 'dependencies': [
- '<(node_lib_target_name)',
- 'deps/histogram/histogram.gyp:histogram',
- 'deps/uvwasi/uvwasi.gyp:uvwasi',
- 'node_dtrace_header',
- 'node_dtrace_ustack',
- 'node_dtrace_provider',
@ -27,6 +28,7 @@ diff -u -r ../node-v12.9.0/node.gyp ./node.gyp
- 'deps/v8/include',
- 'deps/cares/include',
- 'deps/uv/include',
- 'deps/uvwasi/include',
- 'test/cctest',
- ],
-

Loading…
Cancel
Save