upgpkg(main/nodejs-lts): v18.13.0
This commit is contained in:
parent
6030ee4c2c
commit
d98afe895b
|
@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/
|
|||
TERMUX_PKG_DESCRIPTION="Open Source, cross-platform JavaScript runtime environment"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="Yaksh Bariya <yakshbari4@gmail.com>"
|
||||
TERMUX_PKG_VERSION=18.12.1
|
||||
TERMUX_PKG_VERSION=18.13.0
|
||||
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=4fa406451bc52659a290e52cfdb2162a760bd549da4b8bbebe6a29f296d938df
|
||||
TERMUX_PKG_SHA256=fd4ac562e01d172896e3a959bd59552dbf647331c90d726f8d3471683dd3da68
|
||||
# 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.
|
||||
|
|
|
@ -1,16 +1,10 @@
|
|||
Revert https://github.com/nodejs/node/commit/938212f3e74a74d0b436941aa24e71425ff666c5
|
||||
|
||||
Seems like host GCC compiler doesn't support this yet.
|
||||
--- ./configure.py.orig 2022-10-06 06:09:46.883008809 +0530
|
||||
+++ ./configure.py 2022-10-06 06:10:31.483008792 +0530
|
||||
@@ -1245,10 +1245,6 @@
|
||||
--- ./configure.py.orig 2023-01-07 17:06:50.006657762 +0530
|
||||
+++ ./configure.py 2023-01-07 17:06:58.033014404 +0530
|
||||
@@ -1284,7 +1284,6 @@
|
||||
|
||||
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
|
||||
|
||||
- # Enable branch protection for arm64
|
||||
- if target_arch == 'arm64':
|
||||
# Enable branch protection for arm64
|
||||
if target_arch == 'arm64':
|
||||
- o['cflags']+=['-msign-return-address=all']
|
||||
-
|
||||
o['variables']['arm_fpu'] = options.arm_fpu or 'neon'
|
||||
|
||||
if options.node_snapshot_main is not None:
|
||||
if options.shared:
|
||||
# This should be possible to fix, but we will need to refactor the
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
diff '--color=auto' -uNr node-v18.0.0.orig/deps/uv/src/unix/process.c node-v18.0.0/deps/uv/src/unix/process.c
|
||||
--- node-v18.0.0.orig/deps/uv/src/unix/process.c 2022-04-21 15:15:32.631869790 +0530
|
||||
+++ node-v18.0.0/deps/uv/src/unix/process.c 2022-04-21 15:42:34.267175190 +0530
|
||||
@@ -303,23 +303,6 @@
|
||||
--- ./deps/uv/src/unix/process.c.orig 2023-01-07 17:02:14.172196070 +0530
|
||||
+++ ./deps/uv/src/unix/process.c 2023-01-07 17:04:50.305214673 +0530
|
||||
@@ -351,23 +351,6 @@
|
||||
if (options->cwd != NULL && chdir(options->cwd))
|
||||
uv__write_errno(error_fd);
|
||||
|
||||
|
@ -22,6 +21,6 @@ diff '--color=auto' -uNr node-v18.0.0.orig/deps/uv/src/unix/process.c node-v18.0
|
|||
- if ((options->flags & UV_PROCESS_SETUID) && setuid(options->uid))
|
||||
- uv__write_errno(error_fd);
|
||||
-
|
||||
if (options->env != NULL) {
|
||||
if (options->env != NULL)
|
||||
environ = options->env;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
diff '--color=auto' -uNr node-v18.0.0.orig/deps/uv/uv.gyp node-v18.0.0/deps/uv/uv.gyp
|
||||
--- node-v18.0.0.orig/deps/uv/uv.gyp 2022-04-21 15:15:32.951869789 +0530
|
||||
+++ node-v18.0.0/deps/uv/uv.gyp 2022-04-21 15:43:16.397175174 +0530
|
||||
--- ./deps/uv/uv.gyp 2023-01-06 04:16:46.000000000 +0530
|
||||
+++ ./deps/uv/uv.gyp.mod 2023-01-10 19:53:16.953276157 +0530
|
||||
@@ -40,7 +40,7 @@
|
||||
{
|
||||
'target_name': 'libuv',
|
||||
|
@ -19,11 +18,19 @@ diff '--color=auto' -uNr node-v18.0.0.orig/deps/uv/uv.gyp node-v18.0.0/deps/uv/u
|
|||
'conditions': [
|
||||
['OS == "linux"', {
|
||||
'defines': [ '_POSIX_C_SOURCE=200112' ],
|
||||
@@ -247,6 +247,7 @@
|
||||
'src/unix/procfs-exepath.c',
|
||||
'src/unix/random-getrandom.c',
|
||||
@@ -256,7 +256,6 @@
|
||||
}],
|
||||
[ 'OS=="android"', {
|
||||
'sources': [
|
||||
- 'src/unix/android-ifaddrs.c',
|
||||
'src/unix/linux-core.c',
|
||||
'src/unix/linux-inotify.c',
|
||||
'src/unix/linux-syscalls.c',
|
||||
@@ -267,6 +266,7 @@
|
||||
'src/unix/random-sysctl-linux.c',
|
||||
+ 'src/unix/epoll.c',
|
||||
'src/unix/epoll.c',
|
||||
],
|
||||
+ 'defines': [ '__USE_GNU' ],
|
||||
'link_settings': {
|
||||
'libraries': [ '-ldl', '-lrt' ],
|
||||
'libraries': [ '-ldl' ],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue