summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-05-02 18:59:24 +0000
committeradam <adam@pkgsrc.org>2022-05-02 18:59:24 +0000
commit37a794b8051c9e0bf4b6d7013788f51083e4a5e8 (patch)
tree607d5bfcf28e4b2d26815375a38f5101f54ee23b /lang
parent688920edb084935eacd4aa3d7000bee5b774631e (diff)
downloadpkgsrc-37a794b8051c9e0bf4b6d7013788f51083e4a5e8.tar.gz
nodejs: updated to 16.15.0
Version 16.15.0 'Gallium' Notable changes Add fetch API Adds experimental support to the fetch API. This adds the --experimental-fetch flag that installs the fetch, Request, Response, Headers, and FormData globals. (SEMVER-MINOR) add fetch (Michaël Zasso) (SEMVER-MINOR) add FormData global when fetch is enabled (Michaël Zasso) Other notable changes build: remove broken x32 arch support (Ben Noordhuis) crypto: (SEMVER-MINOR) add KeyObject.prototype.equals method (Filip Skokan) doc: add @ShogunPanda to collaborators (Paolo Insogna) add JakobJingleheimer to collaborators list (Jacob Smith) add joesepi to collaborators (Joe Sepi) add marsonya to collaborators (Akhil Marsonya) deprecate string coercion in fs.write, fs.writeFileSync (Livia Medeiros) deprecate notice for process methods (Yash Ladha) esm: (SEMVER-MINOR) support https remotely and http locally under flag (Bradley Farias) module: (SEMVER-MINOR) unflag esm json modules (Geoffrey Booth) node-api: (SEMVER-MINOR) add node_api_symbol_for() (Darshan Sen) process: deprecate multipleResolves (Benjamin Gruenbaum) stream: (SEMVER-MINOR) support some and every (Benjamin Gruenbaum) (SEMVER-MINOR) add toArray (Benjamin Gruenbaum) (SEMVER-MINOR) add forEach method (Benjamin Gruenbaum)
Diffstat (limited to 'lang')
-rw-r--r--lang/nodejs/Makefile5
-rw-r--r--lang/nodejs/distinfo13
-rw-r--r--lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc4
-rw-r--r--lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc4
-rw-r--r--lang/nodejs/patches/patch-node.gyp15
5 files changed, 12 insertions, 29 deletions
diff --git a/lang/nodejs/Makefile b/lang/nodejs/Makefile
index e97cef6926b..1957439ea77 100644
--- a/lang/nodejs/Makefile
+++ b/lang/nodejs/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.231 2022/04/19 12:42:38 jperkin Exp $
+# $NetBSD: Makefile,v 1.232 2022/05/02 18:59:24 adam Exp $
-DISTNAME= node-v16.14.2
-PKGREVISION= 2
+DISTNAME= node-v16.15.0
EXTRACT_SUFX= .tar.xz
USE_LANGUAGES= c gnu++14
diff --git a/lang/nodejs/distinfo b/lang/nodejs/distinfo
index ee154e1db81..cd31bc60720 100644
--- a/lang/nodejs/distinfo
+++ b/lang/nodejs/distinfo
@@ -1,23 +1,22 @@
-$NetBSD: distinfo,v 1.210 2022/04/01 18:41:02 tnn Exp $
+$NetBSD: distinfo,v 1.211 2022/05/02 18:59:24 adam Exp $
-BLAKE2s (node-v16.14.2.tar.xz) = e32e3e3de0c413fa7d67a2dd5fe89268c0283c47e632274889b6fc82aaea031c
-SHA512 (node-v16.14.2.tar.xz) = b97274f6e0d63f19e01497c43af36e6561f019e7b0b5b4f6ea19d0fbe2cb4d3c514c06f49e237d1e327936db03c3f437ae0d0b2f830a35f1b7c3a723fbe2a1be
-Size (node-v16.14.2.tar.xz) = 34332624 bytes
+BLAKE2s (node-v16.15.0.tar.xz) = 69bb0e911ecb0f1abc5e2bcc0ce402be4e6ceb6b66febb9ed10d0339f874078f
+SHA512 (node-v16.15.0.tar.xz) = c85cf4a94a0dccdcf358a3e0383499fe1fd74ac0e7b6aa888e9524c070ae8be68b9f718c8c0940d51115bbc908202cd7819e370507b7191facd375a5be231c69
+Size (node-v16.15.0.tar.xz) = 34615112 bytes
SHA1 (patch-common.gypi) = 15393846d9dce28f963ef66faa504d5bb3e92018
SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3
SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf
SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = b47025f33d2991275bbcd15dbabb28900afab0e1
SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8
-SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = f99d9bee3ce452dda41c9b2943ee16cebcbd0af3
+SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = fb0ac6f40233ef3ae03143a97ea7628be00245a8
SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = 802a95f1b1d131e0d85c1f99c659cc68b31ba2f6
SHA1 (patch-deps_v8_src_base_strings.h) = 4d2b37491f2f74f1a573f8c1942790204e23a8bb
SHA1 (patch-deps_v8_src_codegen_arm_cpu-arm.cc) = 84c75d61bc99c2ff9adeac3152f5b11ebb0e582b
SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
SHA1 (patch-deps_v8_src_compiler_types.h) = 2a212282ab9d71e98ae56827fdb1d9778a6047a5
-SHA1 (patch-deps_v8_src_heap_code-range.cc) = dd240fd2f884bca7753d107919fd7d1e162235f0
+SHA1 (patch-deps_v8_src_heap_code-range.cc) = 60a6049ac33b0b60c998da09b2d272bec669214f
SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
-SHA1 (patch-node.gyp) = 0c2e5ccae623a7b730490baf8d509fa550b63e03
SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
SHA1 (patch-src_inspector__agent.cc) = 2ec2a7be459648700488096f467a4ae6af5a9d91
SHA1 (patch-src_node__postmortem__metadata.cc) = 9938482d724ad6636af5dc3fa719ec26ed8539ff
diff --git a/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc b/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc
index 5d3aea3d7dc..093ea000554 100644
--- a/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc
+++ b/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-posix.cc
@@ -1,4 +1,4 @@
-$NetBSD: patch-deps_v8_src_base_platform_platform-posix.cc,v 1.7 2021/04/24 06:30:28 rin Exp $
+$NetBSD: patch-deps_v8_src_base_platform_platform-posix.cc,v 1.8 2022/05/02 18:59:24 adam Exp $
Use sysconf(_SC_THREAD_STACK_MIN) instead of PTHREAD_STACK_MIN.
Cast explicitly.
@@ -13,7 +13,7 @@ Avoid using a random hint, some low numbers cause spurious ENOMEM on netbsd
#endif
#endif
+
-+#if V8_OS_NETBSD && V8_TARGET_ARCH_ARM64
++#if V8_OS_NETBSD
+ raw_addr = 0;
+#endif
return reinterpret_cast<void*>(raw_addr);
diff --git a/lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc b/lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc
index be1f8126822..4bb6e70ef86 100644
--- a/lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc
+++ b/lang/nodejs/patches/patch-deps_v8_src_heap_code-range.cc
@@ -1,4 +1,4 @@
-$NetBSD: patch-deps_v8_src_heap_code-range.cc,v 1.1 2022/04/01 18:41:02 tnn Exp $
+$NetBSD: patch-deps_v8_src_heap_code-range.cc,v 1.2 2022/05/02 18:59:24 adam Exp $
nodejs: disable "near code ranges" on NetBSD/evbarm-aarch64 for now.
It results in mmap(2) errors of the PR kern/55533 variety.
@@ -9,7 +9,7 @@ It results in mmap(2) errors of the PR kern/55533 variety.
base::MutexGuard guard(&mutex_);
auto it = recently_freed_.find(code_range_size);
if (it == recently_freed_.end() || it->second.empty()) {
-+#if V8_OS_NETBSD && V8_TARGET_ARCH_ARM64
++#if V8_OS_NETBSD
+ return 0;
+#else
return FUNCTION_ADDR(&FunctionInStaticBinaryForAddressHint);
diff --git a/lang/nodejs/patches/patch-node.gyp b/lang/nodejs/patches/patch-node.gyp
deleted file mode 100644
index 913bd4455bc..00000000000
--- a/lang/nodejs/patches/patch-node.gyp
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-node.gyp,v 1.3 2022/03/30 06:52:33 adam Exp $
-
-Avoid building vendored OpenSSL.
-
---- node.gyp.orig 2022-03-01 10:28:22.000000000 +0000
-+++ node.gyp
-@@ -1393,7 +1393,7 @@
- ]
- }], # end aix section
- # TODO(RaisinTen): Enable this to build on other platforms as well.
-- ['(OS=="mac" or (OS=="linux" and target_arch=="x64")) and \
-+ ['(OS=="linux" and target_arch=="x64") and \
- node_use_openssl=="true"', {
- 'targets': [
- {