git: e6bd111be9c8 - 2025Q3 - www/node24: fix build on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 21 Jul 2025 09:12:50 UTC
The branch 2025Q3 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e6bd111be9c824888e03d17b60b628e9cfa64c2b

commit e6bd111be9c824888e03d17b60b628e9cfa64c2b
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-07-17 22:15:27 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-07-21 09:12:37 +0000

    www/node24: fix build on armv7
    
    No -latomic on FreeBSD.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q3
    
    (cherry picked from commit c13c2482f019745ff51bea6708ecf160546abcec)
---
 www/node24/files/patch-tools_v8__gypfiles_v8.gyp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/www/node24/files/patch-tools_v8__gypfiles_v8.gyp b/www/node24/files/patch-tools_v8__gypfiles_v8.gyp
new file mode 100644
index 000000000000..189f9b3780d8
--- /dev/null
+++ b/www/node24/files/patch-tools_v8__gypfiles_v8.gyp
@@ -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