pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/nodejs24
Module Name: pkgsrc
Committed By: ryoon
Date: Mon Oct 5 14:12:00 UTC 2026
Modified Files:
pkgsrc/lang/nodejs24: distinfo
Added Files:
pkgsrc/lang/nodejs24/patches: patch-deps_histogram_src_hdr__histogram.c
patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h
Log Message:
lang/nodejs24: Fix build under NetBSD/i386
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/nodejs24/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/nodejs24/patches/patch-deps_histogram_src_hdr__histogram.c \
pkgsrc/lang/nodejs24/patches/patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/nodejs24/distinfo
diff -u pkgsrc/lang/nodejs24/distinfo:1.17 pkgsrc/lang/nodejs24/distinfo:1.18
--- pkgsrc/lang/nodejs24/distinfo:1.17 Wed Sep 9 07:30:58 2026
+++ pkgsrc/lang/nodejs24/distinfo Mon Oct 5 14:12:00 2026
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.17 2026/09/09 07:30:58 adam Exp $
+$NetBSD: distinfo,v 1.18 2026/10/05 14:12:00 ryoon Exp $
BLAKE2s (node-v24.21.0.tar.xz) = 0a959c07070b59d4954658ac5a88dea4ccece114f846d24cdc57546be5de4e66
SHA512 (node-v24.21.0.tar.xz) = bb25a4fb9e5d9bc7ce05d2dfe48d9cb3524ce2e61f61105e0a769c56ac18f051825251a72fa5abe8ab5c596b0f2706bafec4d55d0a8a1bfef019f77e46520f03
Size (node-v24.21.0.tar.xz) = 57357488 bytes
SHA1 (patch-common.gypi) = 4620bcaf4d953bc415319a957fe41e1a70b94357
SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
+SHA1 (patch-deps_histogram_src_hdr__histogram.c) = d246c3feb1617aea7170f6047d977c4296daabea
SHA1 (patch-deps_uv_common.gypi) = 29f0c382b68f77749a71ce39fa2ca37338ca18ec
SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf
SHA1 (patch-deps_v8_src_base_platform_memory.h) = 10603b12ccdb97df87de70a2b91b96739c2ab13b
@@ -15,6 +16,7 @@ SHA1 (patch-deps_v8_src_base_platform_se
SHA1 (patch-deps_v8_src_base_strings.h) = 4d2b37491f2f74f1a573f8c1942790204e23a8bb
SHA1 (patch-deps_v8_src_codegen_arm_cpu-arm.cc) = 84c75d61bc99c2ff9adeac3152f5b11ebb0e582b
SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
+SHA1 (patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h) = 583f6bf6fd251c8cb177c5bc660898ff9ee1da5d
SHA1 (patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.cc) = 51bfbd80a8157d38e5da434ba6bd2f9b6f7762b2
SHA1 (patch-deps_v8_tools_profiling_run-llprof.sh) = b19994d3195cc97424a3cc2ffd3ae02eacc6ffa8
SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
Added files:
Index: pkgsrc/lang/nodejs24/patches/patch-deps_histogram_src_hdr__histogram.c
diff -u /dev/null pkgsrc/lang/nodejs24/patches/patch-deps_histogram_src_hdr__histogram.c:1.1
--- /dev/null Mon Oct 5 14:12:00 2026
+++ pkgsrc/lang/nodejs24/patches/patch-deps_histogram_src_hdr__histogram.c Mon Oct 5 14:12:00 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-deps_histogram_src_hdr__histogram.c,v 1.1 2026/10/05 14:12:00 ryoon Exp $
+
+* Fix build under NetBSD/i386.
+
+--- deps/histogram/src/hdr_histogram.c.orig 2026-10-04 18:16:37.068569235 +0000
++++ deps/histogram/src/hdr_histogram.c
+@@ -36,8 +36,8 @@
+
+ /* Runtime-dispatched AVX2 path: keep the rest of this TU at the project's
+ baseline ISA so the shipped binary does not silently require AVX2. */
+-#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)) \
+- && (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) && !defined(_MSC_VER)
++#if (defined(__x86_64__) || defined(_M_X64) || defined(_M_IX86)) \
++ && (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) && !defined(_MSC_VER)
+ # define HDR_HAS_AVX2_DISPATCH 1
+ # include <immintrin.h>
+ #endif
Index: pkgsrc/lang/nodejs24/patches/patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h
diff -u /dev/null pkgsrc/lang/nodejs24/patches/patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h:1.1
--- /dev/null Mon Oct 5 14:12:00 2026
+++ pkgsrc/lang/nodejs24/patches/patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h Mon Oct 5 14:12:00 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-deps_v8_src_compiler_turboshaft_int64-lowering-reducer.h,v 1.1 2026/10/05 14:12:00 ryoon Exp $
+
+* Fix build under NetBSD/i386.
+
+--- deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h.orig 2026-09-08 00:10:00.000000000 +0000
++++ deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h
+@@ -637,7 +637,7 @@ class Int64LoweringReducer : public Next {
+ result = __ Word32CountLeadingZeros(high);
+ }
+
+- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
++ return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
+ }
+
+ V<Word32Pair> LowerCtz(V<Word32Pair> input) {
+@@ -650,7 +650,7 @@ class Int64LoweringReducer : public Next {
+ result = __ Word32CountTrailingZeros(low);
+ }
+
+- return __ Tuple<Word32, Word32>(result, __ Word32Constant(0));
++ return __ template Tuple<Word32, Word32>(result, __ Word32Constant(0));
+ }
+
+ V<Word32Pair> LowerPopCount(V<Word32Pair> input) {
Home |
Main Index |
Thread Index |
Old Index