git: c13c2482f019 - main - www/node24: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Jul 2025 09:11:43 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c13c2482f019745ff51bea6708ecf160546abcec
commit c13c2482f019745ff51bea6708ecf160546abcec
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:11:24 +0000
www/node24: fix build on armv7
No -latomic on FreeBSD.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
---
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