git: c21341eb296b - 2025Q3 - www/qt6-webengine: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 19 Sep 2025 08:34:00 UTC
The branch 2025Q3 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c21341eb296b3f7e0be2df64369c137fbc459127
commit c21341eb296b3f7e0be2df64369c137fbc459127
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-09-13 22:33:09 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-09-19 08:32:37 +0000
www/qt6-webengine: fix build on armv7
Known node issue that has already been fixed before.
Obtained from: www/node20/files/patch-deps_v8_src_codegen_arm_cpu-arm.c
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
(cherry picked from commit c210e668c1a99f97016a635f2584f9521749e848)
---
...src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc
new file mode 100644
index 000000000000..7db44ba708cc
--- /dev/null
+++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_v8_src_codegen_arm_cpu-arm.cc
@@ -0,0 +1,18 @@
+--- src/3rdparty/chromium/v8/src/codegen/arm/cpu-arm.cc.orig 2025-09-13 15:19:49 UTC
++++ src/3rdparty/chromium/v8/src/codegen/arm/cpu-arm.cc
+@@ -2,12 +2,15 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+
++#include "include/v8config.h"
++
+ // CPU specific code for arm independent of OS goes here.
+ #ifdef __arm__
+ #ifdef __QNXNTO__
+ #include <sys/mman.h> // for cache flushing.
+ #undef MAP_TYPE
+ #elif V8_OS_FREEBSD
++#include <sys/cdefs.h>
+ #include <machine/sysarch.h> // for cache flushing
+ #include <sys/types.h>
+ #elif V8_OS_STARBOARD