Index | Thread | Search

From:
Volker Schlecht <openbsd-ports@schlecht.dev>
Subject:
[Maintainer Update] node v22.20.0
To:
ports <ports@openbsd.org>
Date:
Wed, 24 Sep 2025 20:03:58 +0200

Download raw body.

Thread
Update to the latest release, tested on arm64 and amd64.

ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.159
diff -u -p -r1.159 Makefile
--- Makefile	9 Sep 2025 18:34:47 -0000	1.159
+++ Makefile	24 Sep 2025 16:32:07 -0000
@@ -5,7 +5,7 @@ USE_WXNEEDED =		Yes
 
 COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine
 
-NODE_VERSION =		v22.19.0
+NODE_VERSION =		v22.20.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.92
diff -u -p -r1.92 distinfo
--- distinfo	9 Sep 2025 18:34:47 -0000	1.92
+++ distinfo	24 Sep 2025 16:32:07 -0000
@@ -1,6 +1,6 @@
-SHA256 (node-v22.19.0-headers.tar.gz) = GDvcFwkjNq0h4BpCXSOOhdtO4HeuPKoFR/8fvaB9m9g=
-SHA256 (node-v22.19.0.tar.xz) = AnKs/OUM6a0GAogyGxCScZp/GZZvgUGYNUEMWcCdqkY=
+SHA256 (node-v22.20.0-headers.tar.gz) = IrpGkldkQoIfcBViGXUoNakg6eosAROlD9nr7LDqa70=
+SHA256 (node-v22.20.0.tar.xz) = /3pqbooTEq9YdeQAWDUcT4kNKKtkwy8SsswZmvoiAC0=
 SHA256 (qbit-node-pledge-1.1.3.tar.gz) = fEaXvLg6hYEJ69K+mgQFizf8DiJY2/DtyFJB/pEanVU=
-SIZE (node-v22.19.0-headers.tar.gz) = 8750990
-SIZE (node-v22.19.0.tar.xz) = 48853616
+SIZE (node-v22.20.0-headers.tar.gz) = 10200079
+SIZE (node-v22.20.0.tar.xz) = 50110384
 SIZE (qbit-node-pledge-1.1.3.tar.gz) = 3167
Index: patches/patch-common_gypi
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-common_gypi,v
retrieving revision 1.37
diff -u -p -r1.37 patch-common_gypi
--- patches/patch-common_gypi	1 Aug 2025 15:18:32 -0000	1.37
+++ patches/patch-common_gypi	24 Sep 2025 16:32:07 -0000
@@ -32,21 +32,12 @@ Index: common.gypi
            }],
            ['_toolset=="host"', {
              'conditions': [
-@@ -542,7 +546,7 @@
+@@ -541,7 +545,7 @@
+                 'cflags': [ '-m32' ],
                  'ldflags': [ '-m32' ],
                }],
-               [ 'host_arch=="ppc64" and OS not in "aix os400"', {
--                'cflags': [ '-m64', '-mminimal-toc' ],
-+                'cflags': [ '-m64' ],
-                 'ldflags': [ '-m64' ],
-               }],
-               [ 'host_arch=="s390x" and OS=="linux"', {
-@@ -566,7 +570,7 @@
-                 'ldflags': [ '-m32' ],
-               }],
-               [ 'target_arch=="ppc64" and OS not in "aix os400"', {
--                'cflags': [ '-m64', '-mminimal-toc' ],
-+                'cflags': [ '-m64' ],
-                 'ldflags': [ '-m64' ],
-               }],
-               [ 'target_arch=="s390x" and OS=="linux"', {
+-              [ 'host_arch=="ppc64" and OS not in "aix os400"', {
++              [ 'host_arch=="ppc64" and OS not in "aix os400 openbsd"', {
+                 'conditions': [
+                   [ 'clang==0', {
+                     'cflags': [ '-mminimal-toc' ],
Index: patches/patch-configure_py
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-configure_py,v
retrieving revision 1.12
diff -u -p -r1.12 patch-configure_py
--- patches/patch-configure_py	30 Jun 2025 17:40:10 -0000	1.12
+++ patches/patch-configure_py	24 Sep 2025 16:32:07 -0000
@@ -1,7 +1,7 @@
 Index: configure.py
 --- configure.py.orig
 +++ configure.py
-@@ -1753,7 +1753,11 @@ def configure_v8(o, configs):
+@@ -1762,7 +1762,11 @@ def configure_v8(o, configs):
    if sys.platform != 'darwin':
      if o['variables']['v8_enable_webassembly'] and o['variables']['target_arch'] == 'x64':
        o['variables']['v8_enable_wasm_simd256_revec'] = 1
Index: patches/patch-include_node_common_gypi
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-include_node_common_gypi,v
retrieving revision 1.11
diff -u -p -r1.11 patch-include_node_common_gypi
--- patches/patch-include_node_common_gypi	1 Aug 2025 15:18:32 -0000	1.11
+++ patches/patch-include_node_common_gypi	24 Sep 2025 16:32:07 -0000
@@ -17,21 +17,21 @@ Index: include/node/common.gypi
              'ldflags': [ '-Wl,-z,wxneeded' ],
            }],
            ['_toolset=="host"', {
-@@ -542,7 +540,7 @@
+@@ -541,7 +539,7 @@
+                 'cflags': [ '-m32' ],
                  'ldflags': [ '-m32' ],
                }],
-               [ 'host_arch=="ppc64" and OS not in "aix os400"', {
--                'cflags': [ '-m64', '-mminimal-toc' ],
-+                'cflags': [ '-m64' ],
-                 'ldflags': [ '-m64' ],
-               }],
-               [ 'host_arch=="s390x" and OS=="linux"', {
-@@ -566,7 +564,7 @@
+-              [ 'host_arch=="ppc64" and OS not in "aix os400"', {
++              [ 'host_arch=="ppc64" and OS not in "aix os400 openbsd"', {
+                 'conditions': [
+                   [ 'clang==0', {
+                     'cflags': [ '-mminimal-toc' ],
+@@ -570,7 +568,7 @@
+                 'cflags': [ '-m32' ],
                  'ldflags': [ '-m32' ],
                }],
-               [ 'target_arch=="ppc64" and OS not in "aix os400"', {
--                'cflags': [ '-m64', '-mminimal-toc' ],
-+                'cflags': [ '-m64' ],
-                 'ldflags': [ '-m64' ],
-               }],
-               [ 'target_arch=="s390x" and OS=="linux"', {
+-              [ 'target_arch=="ppc64" and OS not in "aix os400"', {
++              [ 'target_arch=="ppc64" and OS not in "aix os400 openbsd"', {
+                 'conditions': [
+                   [ 'clang==0', {
+                     'cflags': [ '-mminimal-toc' ],
Index: patches/patch-src_env_cc
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-src_env_cc,v
retrieving revision 1.15
diff -u -p -r1.15 patch-src_env_cc
--- patches/patch-src_env_cc	15 May 2025 18:33:16 -0000	1.15
+++ patches/patch-src_env_cc	24 Sep 2025 16:32:07 -0000
@@ -1,7 +1,7 @@
 Index: src/env.cc
 --- src/env.cc.orig
 +++ src/env.cc
-@@ -794,7 +794,7 @@ std::string Environment::GetExecPath(const std::vector
+@@ -795,7 +795,7 @@ std::string Environment::GetExecPath(const std::vector
    uv_fs_req_cleanup(&req);
  #endif
  
Index: patches/patch-tools_test_py
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-tools_test_py,v
retrieving revision 1.16
diff -u -p -r1.16 patch-tools_test_py
--- patches/patch-tools_test_py	15 May 2025 18:33:16 -0000	1.16
+++ patches/patch-tools_test_py	24 Sep 2025 16:32:07 -0000
@@ -1,7 +1,7 @@
 Index: tools/test.py
 --- tools/test.py.orig
 +++ tools/test.py
-@@ -960,9 +960,9 @@ class Context(object):
+@@ -965,9 +965,9 @@ class Context(object):
      if self.vm is not None:
        return self.vm
      if arch == 'none':
Index: patches/patch-tools_v8_gypfiles_toolchain_gypi
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-tools_v8_gypfiles_toolchain_gypi,v
retrieving revision 1.6
diff -u -p -r1.6 patch-tools_v8_gypfiles_toolchain_gypi
--- patches/patch-tools_v8_gypfiles_toolchain_gypi	1 Aug 2025 15:18:32 -0000	1.6
+++ patches/patch-tools_v8_gypfiles_toolchain_gypi	24 Sep 2025 16:32:07 -0000
@@ -1,7 +1,7 @@
 Index: tools/v8_gypfiles/toolchain.gypi
 --- tools/v8_gypfiles/toolchain.gypi.orig
 +++ tools/v8_gypfiles/toolchain.gypi
-@@ -675,7 +675,7 @@
+@@ -692,7 +692,7 @@
          'defines': [ '__C99FEATURES__=1' ],  # isinf() etc.
        }],
        ['OS=="freebsd" or OS=="openbsd"', {
@@ -10,7 +10,7 @@ Index: tools/v8_gypfiles/toolchain.gypi
        }],
        ['OS=="netbsd"', {
          'cflags': [ '-I/usr/pkg/include' ],
-@@ -860,11 +860,9 @@
+@@ -877,11 +877,9 @@
                # Don't use -O3 with sanitizers.
                ['asan==0 and msan==0 and lsan==0 \
                  and tsan==0 and ubsan==0 and ubsan_vptr==0', {