summaryrefslogtreecommitdiff
path: root/www/node24
diff options
context:
space:
mode:
Diffstat (limited to 'www/node24')
-rw-r--r--www/node24/Makefile1
-rw-r--r--www/node24/Makefile.version2
-rw-r--r--www/node24/distinfo6
-rw-r--r--www/node24/files/patch-armv712
-rw-r--r--www/node24/files/patch-deps_v8_include_v8config.h11
-rw-r--r--www/node24/files/patch-deps_v8_src_base_platform_platform-posix.cc12
-rw-r--r--www/node24/pkg-plist37
7 files changed, 76 insertions, 5 deletions
diff --git a/www/node24/Makefile b/www/node24/Makefile
index 67d17435d3d7..159606d42d9d 100644
--- a/www/node24/Makefile
+++ b/www/node24/Makefile
@@ -42,6 +42,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \
--shared-zstd \
--with-intl=system-icu \
--without-npm
+CXXFLAGS_powerpc64= -mpower8-vector
HAS_CONFIGURE= yes
MAKE_ENV= CC.host="${CCACHE_BIN} ${CC}" \
CFLAGS.host="${CFLAGS}" \
diff --git a/www/node24/Makefile.version b/www/node24/Makefile.version
index f0e22b213ad6..5778c22fca49 100644
--- a/www/node24/Makefile.version
+++ b/www/node24/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION= 24.0.2
+NODEJS_PORTVERSION= 24.4.1
diff --git a/www/node24/distinfo b/www/node24/distinfo
index d3bf541a61ca..f92d33ffd802 100644
--- a/www/node24/distinfo
+++ b/www/node24/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747546446
-SHA256 (node-v24.0.2.tar.xz) = 1597075afc06e5c6145d0bfbd77e2072c2ec0ab71ac4950cf008b2641374cd71
-SIZE (node-v24.0.2.tar.xz) = 49774016
+TIMESTAMP = 1753265712
+SHA256 (node-v24.4.1.tar.xz) = adb79ca0987486ed66136213da19ff17ef6724dcb340c320e010c9442101652f
+SIZE (node-v24.4.1.tar.xz) = 50266728
diff --git a/www/node24/files/patch-armv7 b/www/node24/files/patch-armv7
new file mode 100644
index 000000000000..189f9b3780d8
--- /dev/null
+++ b/www/node24/files/patch-armv7
@@ -0,0 +1,12 @@
+--- tools/v8_gypfiles/v8.gyp.orig 2025-07-17 21:44:08 UTC
++++ tools/v8_gypfiles/v8.gyp
+@@ -1314,9 +1314,6 @@
+ # to implement atomic memory access.
+ # Clang needs it for some atomic operations (https://clang.llvm.org/docs/Toolchain.html#atomics-library).
+ ['(OS=="linux" and clang==1) or (v8_current_cpu in ["mips64", "mips64el", "arm", "riscv64", "loong64"])', {
+- 'link_settings': {
+- 'libraries': ['-latomic', ],
+- },
+ }],
+ ],
+ }, # v8_base_without_compiler
diff --git a/www/node24/files/patch-deps_v8_include_v8config.h b/www/node24/files/patch-deps_v8_include_v8config.h
new file mode 100644
index 000000000000..2fe13159fc15
--- /dev/null
+++ b/www/node24/files/patch-deps_v8_include_v8config.h
@@ -0,0 +1,11 @@
+--- deps/v8/include/v8config.h.orig 2025-07-15 17:11:17 UTC
++++ deps/v8/include/v8config.h
+@@ -976,7 +976,7 @@ V8 shared library set USING_V8_SHARED.
+ #define V8_TARGET_LITTLE_ENDIAN 1
+ #endif
+ #elif V8_TARGET_ARCH_PPC64
+-#if V8_OS_AIX
++#if defined(__BIG_ENDIAN__) || defined(V8_OS_AIX)
+ #define V8_TARGET_BIG_ENDIAN 1
+ #else
+ #define V8_TARGET_LITTLE_ENDIAN 1
diff --git a/www/node24/files/patch-deps_v8_src_base_platform_platform-posix.cc b/www/node24/files/patch-deps_v8_src_base_platform_platform-posix.cc
new file mode 100644
index 000000000000..3a6bc2e94249
--- /dev/null
+++ b/www/node24/files/patch-deps_v8_src_base_platform_platform-posix.cc
@@ -0,0 +1,12 @@
+--- deps/v8/src/base/platform/platform-posix.cc.orig 2025-07-15 17:11:17 UTC
++++ deps/v8/src/base/platform/platform-posix.cc
+@@ -360,6 +360,9 @@ void* OS::GetRandomMmapAddr() {
+ raw_addr &= uint64_t{0x3FFFF000};
+ // Use extra address space to isolate the mmap regions.
+ raw_addr += uint64_t{0x400000000000};
++#elif V8_TARGET_BIG_ENDIAN
++ // Big-endian Linux: 42 bits of virtual addressing.
++ raw_addr &= uint64_t{0x03FFFFFFF000};
+ #else
+ // Little-endian Linux: 46 bits of virtual addressing.
+ raw_addr &= uint64_t{0x3FFFFFFF0000};
diff --git a/www/node24/pkg-plist b/www/node24/pkg-plist
index d580eb7dd775..c96619da94e1 100644
--- a/www/node24/pkg-plist
+++ b/www/node24/pkg-plist
@@ -1604,6 +1604,42 @@ include/node/node_version.h
%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_rsa.h
%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_sm2.h
%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_wrap.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/bio.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cmp.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cms.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/conf.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/configuration.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crmf.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crypto.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ct.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/err.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ess.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/lhash.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/safestack.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/srp.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ssl.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ui.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/include/progs.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_digests.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_dsa.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ec.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ecx.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_rsa.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_sm2.h
+%%BUNDLED_SSL%%include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_wrap.h
%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h
%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/crypto/bn_conf.h
%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/crypto/dso_conf.h
@@ -2212,7 +2248,6 @@ include/node/node_version.h
%%BUNDLED_SSL%%include/node/openssl/prov_ssl.h
%%BUNDLED_SSL%%include/node/openssl/proverr.h
%%BUNDLED_SSL%%include/node/openssl/provider.h
-%%BUNDLED_SSL%%include/node/openssl/quic.h
%%BUNDLED_SSL%%include/node/openssl/rand.h
%%BUNDLED_SSL%%include/node/openssl/randerr.h
%%BUNDLED_SSL%%include/node/openssl/rc2.h