Wednesday, December 04, 2024

[Maintainer Update] lang/node v22.12.0

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/node/Makefile,v
diff -u -p -r1.143 Makefile
--- Makefile 14 Nov 2024 18:58:02 -0000 1.143
+++ Makefile 4 Dec 2024 11:11:13 -0000
@@ -5,7 +5,7 @@ USE_WXNEEDED = Yes

COMMENT = JavaScript runtime built on Chrome's V8 JavaScript engine

-NODE_VERSION = v22.11.0
+NODE_VERSION = v22.12.0
PLEDGE_VER = 1.1.3
DISTFILES = ${DISTNAME}-headers.tar.gz \
${DISTNAME}.tar.xz
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/node/distinfo,v
diff -u -p -r1.82 distinfo
--- distinfo 14 Nov 2024 18:58:02 -0000 1.82
+++ distinfo 4 Dec 2024 11:11:13 -0000
@@ -1,6 +1,6 @@
SHA256 (node-pledge-1.1.3.tar.gz) = fEaXvLg6hYEJ69K+mgQFizf8DiJY2/DtyFJB/pEanVU=
-SHA256 (node-v22.11.0-headers.tar.gz) = DULcOzN39J5JWXbcDk9cOn/7HXFAUNLyR6/bvAiY2uU=
-SHA256 (node-v22.11.0.tar.xz) = u/Apd2HVOu/anXhVxXx9LCcrg6e1utT+qcspAG2OHTU=
+SHA256 (node-v22.12.0-headers.tar.gz) = wHYDg688I2N/RpWaUxE0kP77hMs4iscaCNKHYVJ+exs=
+SHA256 (node-v22.12.0.tar.xz) = /hvEvgBNwSch6iy2cbCKId4BxpdpYO+KEkh5hYlnnhY=
SIZE (node-pledge-1.1.3.tar.gz) = 3167
-SIZE (node-v22.11.0-headers.tar.gz) = 8780269
-SIZE (node-v22.11.0.tar.xz) = 47006780
+SIZE (node-v22.12.0-headers.tar.gz) = 8778770
+SIZE (node-v22.12.0.tar.xz) = 47625776
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-Makefile,v
diff -u -p -r1.25 patch-Makefile
--- patches/patch-Makefile 14 Nov 2024 18:58:14 -0000 1.25
+++ patches/patch-Makefile 4 Dec 2024 11:11:13 -0000
@@ -1,7 +1,7 @@
Index: Makefile
--- Makefile.orig
+++ Makefile
-@@ -191,7 +191,7 @@ config.gypi: configure configure.py src/node_version.h
+@@ -189,7 +189,7 @@ config.gypi: configure configure.py src/node_version.h
fi

.PHONY: install
@@ -10,7 +10,7 @@ Index: Makefile
$(PYTHON) tools/install.py $@ --dest-dir '$(DESTDIR)' --prefix '$(PREFIX)'

.PHONY: uninstall
-@@ -443,6 +443,12 @@ test/addons/.buildstamp: $(ADDONS_PREREQS) \
+@@ -441,6 +441,12 @@ test/addons/.buildstamp: $(ADDONS_PREREQS) \
# Just goes to show that recursive make really is harmful...
# TODO(bnoordhuis) Force rebuild after gyp update.
build-addons: | $(NODE_EXE) test/addons/.buildstamp ## Build addons for Node.js.
Index: patches/patch-deps_ada_ada_h
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-deps_ada_ada_h,v
diff -u -p -r1.3 patch-deps_ada_ada_h
--- patches/patch-deps_ada_ada_h 27 Jul 2024 15:17:56 -0000 1.3
+++ patches/patch-deps_ada_ada_h 4 Dec 2024 11:11:13 -0000
@@ -1,7 +1,7 @@
Index: deps/ada/ada.h
--- deps/ada/ada.h.orig
+++ deps/ada/ada.h
-@@ -1292,7 +1292,7 @@ enum class state {
+@@ -1304,7 +1304,7 @@ enum class state {
/**
* @see https://url.spec.whatwg.org/#query-state
*/
Index: patches/patch-lib_internal_modules_cjs_loader_js
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-lib_internal_modules_cjs_loader_js,v
diff -u -p -r1.15 patch-lib_internal_modules_cjs_loader_js
--- patches/patch-lib_internal_modules_cjs_loader_js 14 Nov 2024 18:58:14 -0000 1.15
+++ patches/patch-lib_internal_modules_cjs_loader_js 4 Dec 2024 11:11:13 -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
-@@ -1779,7 +1779,10 @@ Module._initPaths = function() {
+@@ -1798,7 +1798,10 @@ Module._initPaths = function() {
path.resolve(process.execPath, '..') :
path.resolve(process.execPath, '..', '..');

Index: patches/patch-lib_net_js
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-lib_net_js,v
diff -u -p -r1.12 patch-lib_net_js
--- patches/patch-lib_net_js 14 Nov 2024 18:58:14 -0000 1.12
+++ patches/patch-lib_net_js 4 Dec 2024 11:11:13 -0000
@@ -13,7 +13,7 @@ for "any address" but that's not really
Index: lib/net.js
--- lib/net.js.orig
+++ lib/net.js
-@@ -1864,22 +1864,12 @@ function setupListenHandle(address, port, addressType,
+@@ -1869,22 +1869,12 @@ function setupListenHandle(address, port, addressType,

let rval = null;

Index: patches/patch-src_cares_wrap_h
===================================================================
RCS file: /cvs/ports/lang/node/patches/patch-src_cares_wrap_h,v
diff -u -p -r1.4 patch-src_cares_wrap_h
--- patches/patch-src_cares_wrap_h 18 May 2024 12:10:22 -0000 1.4
+++ patches/patch-src_cares_wrap_h 4 Dec 2024 11:11:13 -0000
@@ -1,7 +1,7 @@
Index: src/cares_wrap.h
--- src/cares_wrap.h.orig
+++ src/cares_wrap.h
-@@ -524,4 +524,109 @@ using GetHostByAddrWrap = QueryWrap<ReverseTraits>;
+@@ -527,4 +527,109 @@ using GetHostByAddrWrap = QueryWrap<ReverseTraits>;

#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

An unusually simple diff to update lang/node to v22.12.0

Built and lightly tested on amd64.
v8 is unchanged, so this is very unlikely to break on other platforms.
However it requires libuv 1.49.x to build.

No comments:

Post a Comment