head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.8 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.6 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2026.11.22.14.36.14; author kikadf; state Exp; branches; next 1.1; commitid bL9qIZypl8k0Ws4H; 1.1 date 2025.11.13.19.00.14; author adam; state Exp; branches; next ; commitid 4FCIvJ2B7lXNpqiG; desc @@ 1.2 log @ nodejs24: add trap-handler support for Open- and NetBSD on x64 @ text @$NetBSD: patch-tools_v8_gypfiles_v8.gyp,v 1.1 2025/11/13 19:00:14 adam Exp $ Add -larm on NetBSD ARM platforms. Add trap-handler support for Open- and NetBSD on x64 --- tools/v8_gypfiles/v8.gyp.orig 2026-10-27 23:43:46.000000000 +0000 +++ tools/v8_gypfiles/v8.gyp @@@@ -736,7 +736,7 @@@@ }], ['v8_enable_webassembly==1', { 'conditions': [ - ['OS in "linux mac ios freebsd openharmony"', { + ['OS in "linux mac ios freebsd openbsd netbsd openharmony"', { 'sources': [ '<(V8_ROOT)/src/trap-handler/handler-inside-posix.h', ], @@@@ -1156,7 +1156,7 @@@@ }], ['v8_enable_webassembly==1', { 'conditions': [ - ['OS in "linux mac ios freebsd openharmony"', { + ['OS in "linux mac ios freebsd openbsd netbsd openharmony"', { 'sources': [ '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc', '<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc', @@@@ -1326,6 +1326,12 @@@@ }], # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library # to implement atomic memory access. + # NetBSD/arm also needs -larm. + ['OS=="netbsd" and v8_current_cpu in ["arm"]', { + 'link_settings': { + 'libraries': ['-larm', ], + }, + }], # 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': { @ 1.1 log @nodejs24: added version 24.11.1 24.11.1 'Krypton' (LTS) Notable Changes The known issue relating to Buffer.allocUnsafe incorrectly zero-filling buffers has now been addressed and now returns uninitialized memory as documented in the Buffer.allocUnsafe documentation. @ text @d1 1 a1 1 $NetBSD: patch-tools_v8_gypfiles_v8.gyp,v 1.5 2025/05/07 05:56:48 adam Exp $ d4 1 d6 2 a7 1 --- tools/v8_gypfiles/v8.gyp.orig 2025-05-06 12:36:34.000000000 +0000 d9 19 a27 1 @@@@ -1308,6 +1308,12 @@@@ @