pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Aug 16 11:56:46 UTC 2026

Modified Files:
        pkgsrc/lang/nodejs: distinfo
Added Files:
        pkgsrc/lang/nodejs/patches: patch-deps_histogram_src_hdr__histogram.c

Log Message:
lang/nodejs: Fix build under NetBSD/i386 11 at least

* Disable HDR_HAS_AVX2_DISPATCH not to use _mm_extract_epi64 C intrinsic
  that is not available for IA32.


To generate a diff of this commit:
cvs rdiff -u -r1.326 -r1.327 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/nodejs/patches/patch-deps_histogram_src_hdr__histogram.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.326 pkgsrc/lang/nodejs/distinfo:1.327
--- pkgsrc/lang/nodejs/distinfo:1.326   Thu Aug  6 13:28:13 2026
+++ pkgsrc/lang/nodejs/distinfo Sun Aug 16 11:56:45 2026
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.326 2026/08/06 13:28:13 adam Exp $
+$NetBSD: distinfo,v 1.327 2026/08/16 11:56:45 ryoon Exp $
 
 BLAKE2s (node-v26.7.0.tar.xz) = f3bf0a633cfc2ca3481717a2a25a066f8a8f02269d53c5296a9d0c3e243392ab
 SHA512 (node-v26.7.0.tar.xz) = d7dd7bf0485369c29ad90740c404b647696efd79c6a59f6a3da0b72cdb2740a5855fd62a55985516b8649d9c3359ce4141840f6e6a93427eaa5c87a3cd93e9c9
 Size (node-v26.7.0.tar.xz) = 60914892 bytes
 SHA1 (patch-common.gypi) = 4620bcaf4d953bc415319a957fe41e1a70b94357
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
+SHA1 (patch-deps_histogram_src_hdr__histogram.c) = 0921ca4f7b3410e9f1b88f5ac1a7c006ba9f7b72
 SHA1 (patch-deps_uv_common.gypi) = 29f0c382b68f77749a71ce39fa2ca37338ca18ec
 SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf
 SHA1 (patch-deps_v8_src_base_memcopy.h) = 4e557fe0d17082c7465893c3886a1555d1ca01c1

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-deps_histogram_src_hdr__histogram.c
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-deps_histogram_src_hdr__histogram.c:1.1
--- /dev/null   Sun Aug 16 11:56:46 2026
+++ pkgsrc/lang/nodejs/patches/patch-deps_histogram_src_hdr__histogram.c        Sun Aug 16 11:56:45 2026
@@ -0,0 +1,13 @@
+$NetBSD: patch-deps_histogram_src_hdr__histogram.c,v 1.1 2026/08/16 11:56:45 ryoon Exp $
+
+--- deps/histogram/src/hdr_histogram.c.orig    2026-08-16 07:43:18.222206955 +0000
++++ deps/histogram/src/hdr_histogram.c
+@@ -36,7 +36,7 @@
+ 
+ /* 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)) \
++#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>



Home | Main Index | Thread Index | Old Index