git: 541e9cdde649 - main - www/node24: Update to 24.14.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Mar 2026 14:48:09 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=541e9cdde6492d64b59b0543cd605843ebd7e255
commit 541e9cdde6492d64b59b0543cd605843ebd7e255
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-03-12 14:18:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-03-12 14:46:56 +0000
www/node24: Update to 24.14.0
- Use the following ports instead of the bundled ones
- devel/googletest
- devel/merve
- graphics/hdr_histogram
- www/nbytes
Changes: https://github.com/nodejs/node/releases
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V24.md
---
www/node24/Makefile | 13 ++++++++++++-
www/node24/Makefile.version | 2 +-
www/node24/distinfo | 6 +++---
www/node24/files/patch-merve | 15 +++++++++++++++
4 files changed, 31 insertions(+), 5 deletions(-)
diff --git a/www/node24/Makefile b/www/node24/Makefile
index 9959239a3ae0..9a6f3776bc4c 100644
--- a/www/node24/Makefile
+++ b/www/node24/Makefile
@@ -1,7 +1,6 @@
PORTNAME= node
PORTVERSION= ${NODEJS_PORTVERSION}
DISTVERSIONPREFIX= v
-PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/
PKGNAMESUFFIX= ${PORTVERSION:R:R}
@@ -22,8 +21,12 @@ BUILD_DEPENDS= objdump:devel/binutils
LIB_DEPENDS= libada.so:devel/libada \
libbrotlidec.so:archivers/brotli \
libcares.so:dns/c-ares \
+ libgtest.so:devel/googletest \
+ libhdr_histogram.so:graphics/hdr_histogram \
libicui18n.so:devel/icu \
libllhttp.so:www/llhttp \
+ libmerve.so:devel/merve \
+ libnbytes.so:www/nbytes \
libnghttp2.so:www/libnghttp2 \
libnghttp3.so:www/libnghttp3 \
libngtcp2.so:net/libngtcp2 \
@@ -39,8 +42,12 @@ CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-ada \
--shared-brotli \
--shared-cares \
+ --shared-gtest \
+ --shared-hdr-histogram \
--shared-http-parser \
--shared-libuv \
+ --shared-merve \
+ --shared-nbytes \
--shared-nghttp2 \
--shared-nghttp3 \
--shared-ngtcp2 \
@@ -94,8 +101,12 @@ post-patch:
@${RM} -r ${WRKSRC}/deps/brotli/
@${RM} -r ${WRKSRC}/deps/cares/
@${RM} -r ${WRKSRC}/deps/corepack/
+ @${RM} -r ${WRKSRC}/deps/googletest/
+ @${RM} -r ${WRKSRC}/deps/histogram/
@${RM} -r ${WRKSRC}/deps/icu-small/
@${RM} -r ${WRKSRC}/deps/llhttp/
+ @${RM} -r ${WRKSRC}/deps/merve/
+ @${RM} -r ${WRKSRC}/deps/nbytes/
@${RM} -r ${WRKSRC}/deps/nghttp2/
@${RM} -r ${WRKSRC}/deps/ngtcp2/
@${RM} -r ${WRKSRC}/deps/npm/
diff --git a/www/node24/Makefile.version b/www/node24/Makefile.version
index 260b72320e66..e72dce084e92 100644
--- a/www/node24/Makefile.version
+++ b/www/node24/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION= 24.13.1
+NODEJS_PORTVERSION= 24.14.0
diff --git a/www/node24/distinfo b/www/node24/distinfo
index 3ca01f337cd5..f6a72dbcf182 100644
--- a/www/node24/distinfo
+++ b/www/node24/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771105012
-SHA256 (node-v24.13.1.tar.xz) = b227bc868fb5e9ec8670620e2b25530eb12c17d43e6c7bc51bb38a660684192d
-SIZE (node-v24.13.1.tar.xz) = 52098244
+TIMESTAMP = 1773152829
+SHA256 (node-v24.14.0.tar.xz) = 9fe025ef4028aba95d16e7810518bf4a5e8abfb0bdc07d8a3fdbb0afd538d77f
+SIZE (node-v24.14.0.tar.xz) = 53987528
diff --git a/www/node24/files/patch-merve b/www/node24/files/patch-merve
new file mode 100644
index 000000000000..f192eb17a1cc
--- /dev/null
+++ b/www/node24/files/patch-merve
@@ -0,0 +1,15 @@
+Obtained from: https://github.com/nodejs/node/commit/59a522af24173b244cb86829de145d46b143a45c
+
+--- src/node_cjs_lexer.cc.orig 2026-02-24 06:13:37 UTC
++++ src/node_cjs_lexer.cc
+@@ -22,8 +22,8 @@ using v8::Value;
+ using v8::Value;
+
+ // Create a V8 string from an export_string variant, using fast path for ASCII
+-inline Local<String> CreateString(Isolate* isolate,
+- const lexer::export_string& str) {
++template <typename T>
++inline Local<String> CreateString(Isolate* isolate, const T& str) {
+ std::string_view sv = lexer::get_string_view(str);
+
+ if (simdutf::validate_ascii(sv.data(), sv.size())) {