aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2026-05-25 05:11:48 +0000
committerJason E. Hale <jhale@FreeBSD.org>2026-05-25 05:14:58 +0000
commit9bba9ceefdb622467e5002e9a92cedfb9ef6421e (patch)
tree851c79a154033d5805230e57f49e582f01a12213
parent6fe0bef5a5f5b7c87e8f394b04e6dbecd83c961e (diff)
www/qt6-webengine: Fix build on aarch64
../../../../../qtwebengine-everywhere-src-6.11.1/src/3rdparty/chromium/third_party/webrtc/rtc_base/cpu_info.cc:182:18: error: use of undeclared identifier 'AT_HWCAP' 182 | elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); | ^ ../../../../../qtwebengine-everywhere-src-6.11.1/src/3rdparty/chromium/third_party/webrtc/rtc_base/cpu_info.cc:187:18: error: use of undeclared identifier 'HWCAP_ASIMD' 187 | if ((hwcap & HWCAP_ASIMD) != 0) { | ^ 2 errors generated. Reported by: pkg-fallout
-rw-r--r--www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_cpu__info.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_cpu__info.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_cpu__info.cc
index ba7b5be78b4a..a61ec8f3cd30 100644
--- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_cpu__info.cc
+++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_webrtc_rtc__base_cpu__info.cc
@@ -1,15 +1,16 @@
--- src/3rdparty/chromium/third_party/webrtc/rtc_base/cpu_info.cc.orig 2025-09-06 10:01:20 UTC
+++ src/3rdparty/chromium/third_party/webrtc/rtc_base/cpu_info.cc
-@@ -36,7 +36,7 @@
- #if defined(WEBRTC_ARCH_X86_FAMILY) && defined(_MSC_VER)
+@@ -37,7 +37,9 @@
#include <intrin.h>
#endif
--#if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX)
-+#if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD)
+ #if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX)
++#if !defined(WEBRTC_BSD)
#include <asm/hwcap.h>
++#endif
#include <sys/auxv.h>
#endif
-@@ -178,7 +178,11 @@ bool Supports(ISA instruction_set_architecture) {
+
+@@ -178,7 +180,11 @@ bool Supports(ISA instruction_set_architecture) {
return 0 != (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON);
#elif defined(WEBRTC_LINUX)
uint64_t hwcap = 0;