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,23 +1,24 @@ --- 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 #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 ++#endif #include #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; +#if defined(WEBRTC_BSD) + elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); +#else hwcap = getauxval(AT_HWCAP); +#endif #if defined(__aarch64__) if ((hwcap & HWCAP_ASIMD) != 0) { return true;