summaryrefslogtreecommitdiff
path: root/www/node24
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
6 files changed, 40 insertions, 4 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 2a5cc3d9fae4..5778c22fca49 100644
--- a/www/node24/Makefile.version
+++ b/www/node24/Makefile.version
@@ -1 +1 @@
-NODEJS_PORTVERSION= 24.2.0
+NODEJS_PORTVERSION= 24.4.1
diff --git a/www/node24/distinfo b/www/node24/distinfo
index 3f600ad0f02d..f92d33ffd802 100644
--- a/www/node24/distinfo
+++ b/www/node24/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749813022
-SHA256 (node-v24.2.0.tar.xz) = 40143d43efbdeeb9537995f532126c494d63a31da332acb5022f76f00afc62ab
-SIZE (node-v24.2.0.tar.xz) = 49809356
+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};