Index | Thread | Search

From:
Volker Schlecht <openbsd-ports@schlecht.dev>
Subject:
[Update] lang/node v22.19.0
To:
ports <ports@openbsd.org>
Date:
Sat, 30 Aug 2025 17:02:05 +0200

Download raw body.

Thread
Apparently simple update to the latest release.
Tested on amd64 and arm64, firefox builds fine.

ok? (I'll take go-aheads, too)
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.158
diff -u -p -r1.158 Makefile
--- Makefile	1 Aug 2025 15:18:28 -0000	1.158
+++ Makefile	30 Aug 2025 14:21:32 -0000
@@ -5,7 +5,7 @@ USE_WXNEEDED =		Yes
 
 COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine
 
-NODE_VERSION =		v22.18.0
+NODE_VERSION =		v22.19.0
 DISTFILES =		${DISTNAME}-headers.tar.gz \
 			${DISTNAME}.tar.xz
 DIST_TUPLE =		github qbit node-pledge 1.1.3 \
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.91
diff -u -p -r1.91 distinfo
--- distinfo	1 Aug 2025 15:18:28 -0000	1.91
+++ distinfo	30 Aug 2025 14:21:32 -0000
@@ -1,6 +1,6 @@
-SHA256 (node-v22.18.0-headers.tar.gz) = yZ/X4KfSt1Y+9SduCaHyNVk4HGAe+AzNzpElnW9tCXE=
-SHA256 (node-v22.18.0.tar.xz) = Eg4PdEGQl6n6+uH9gLned5Glh+bxxIwisZMjnM0PcIQ=
+SHA256 (node-v22.19.0-headers.tar.gz) = GDvcFwkjNq0h4BpCXSOOhdtO4HeuPKoFR/8fvaB9m9g=
+SHA256 (node-v22.19.0.tar.xz) = AnKs/OUM6a0GAogyGxCScZp/GZZvgUGYNUEMWcCdqkY=
 SHA256 (qbit-node-pledge-1.1.3.tar.gz) = fEaXvLg6hYEJ69K+mgQFizf8DiJY2/DtyFJB/pEanVU=
-SIZE (node-v22.18.0-headers.tar.gz) = 8735432
-SIZE (node-v22.18.0.tar.xz) = 48597780
+SIZE (node-v22.19.0-headers.tar.gz) = 8750990
+SIZE (node-v22.19.0.tar.xz) = 48853616
 SIZE (qbit-node-pledge-1.1.3.tar.gz) = 3167
Index: patches/patch-deps_v8_src_base_platform-posix_cc
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-deps_v8_src_base_platform-posix_cc,v
retrieving revision 1.6
diff -u -p -r1.6 patch-deps_v8_src_base_platform-posix_cc
--- patches/patch-deps_v8_src_base_platform-posix_cc	14 Nov 2024 18:58:14 -0000	1.6
+++ patches/patch-deps_v8_src_base_platform-posix_cc	30 Aug 2025 14:21:32 -0000
@@ -19,7 +19,7 @@ Index: deps/v8/src/base/platform/platfor
  #define MAP_ANONYMOUS MAP_ANON
  #endif
  
-@@ -303,8 +303,15 @@ void OS::SetRandomMmapSeed(int64_t seed) {
+@@ -315,8 +315,15 @@ void OS::SetRandomMmapSeed(int64_t seed) {
    }
  }
  
@@ -35,7 +35,7 @@ Index: deps/v8/src/base/platform/platfor
    uintptr_t raw_addr;
    {
      MutexGuard guard(rng_mutex.Pointer());
-@@ -399,6 +406,7 @@ void* OS::GetRandomMmapAddr() {
+@@ -411,6 +418,7 @@ void* OS::GetRandomMmapAddr() {
  #endif
    return reinterpret_cast<void*>(raw_addr);
  }
@@ -43,7 +43,7 @@ Index: deps/v8/src/base/platform/platfor
  
  // TODO(bbudge) Move Cygwin and Fuchsia stuff into platform-specific files.
  #if !V8_OS_CYGWIN && !V8_OS_FUCHSIA
-@@ -672,7 +680,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor
+@@ -684,7 +692,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor
  
  // static
  bool OS::HasLazyCommits() {
@@ -52,7 +52,7 @@ Index: deps/v8/src/base/platform/platfor
    return true;
  #else
    // TODO(bbudge) Return true for all POSIX platforms.
-@@ -1304,7 +1312,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void*
+@@ -1316,7 +1324,7 @@ void Thread::SetThreadLocal(LocalStorageKey key, void*
  // keep this version in POSIX as most Linux-compatible derivatives will
  // support it. MacOS and FreeBSD are different here.
  #if !defined(V8_OS_FREEBSD) && !defined(V8_OS_DARWIN) && !defined(_AIX) && \
Index: patches/patch-lib_internal_modules_cjs_loader_js
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-lib_internal_modules_cjs_loader_js,v
retrieving revision 1.20
diff -u -p -r1.20 patch-lib_internal_modules_cjs_loader_js
--- patches/patch-lib_internal_modules_cjs_loader_js	1 Aug 2025 15:18:32 -0000	1.20
+++ patches/patch-lib_internal_modules_cjs_loader_js	30 Aug 2025 14:21:32 -0000
@@ -1,7 +1,7 @@
 Index: lib/internal/modules/cjs/loader.js
 --- lib/internal/modules/cjs/loader.js.orig
 +++ lib/internal/modules/cjs/loader.js
-@@ -1925,7 +1925,10 @@ Module._initPaths = function() {
+@@ -1944,7 +1944,10 @@ Module._initPaths = function() {
      path.resolve(process.execPath, '..') :
      path.resolve(process.execPath, '..', '..');
  
Index: patches/patch-src_cares_wrap_h
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-src_cares_wrap_h,v
retrieving revision 1.7
diff -u -p -r1.7 patch-src_cares_wrap_h
--- patches/patch-src_cares_wrap_h	29 May 2025 15:53:45 -0000	1.7
+++ patches/patch-src_cares_wrap_h	30 Aug 2025 14:21:32 -0000
@@ -1,7 +1,7 @@
 Index: src/cares_wrap.h
 --- src/cares_wrap.h.orig
 +++ src/cares_wrap.h
-@@ -443,4 +443,109 @@ QUERY_TYPES(V)
+@@ -444,4 +444,109 @@ QUERY_TYPES(V)
  
  #endif  // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS