Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2026 06:16:23 +0000
From:      Jason E. Hale <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9bba9ceefdb6 - main - www/qt6-webengine: Fix build on aarch64
Message-ID:  <6a13e937.37eed.607b0e8f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jhale:

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

commit 9bba9ceefdb622467e5002e9a92cedfb9ef6421e
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2026-05-25 05:11:48 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2026-05-25 05:14:58 +0000

    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
---
 ...dparty_chromium_third__party_webrtc_rtc__base_cpu__info.cc | 11 ++++++-----
 1 file 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;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a13e937.37eed.607b0e8f>