Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2026 08:54:00 +0000
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bfebe935d327 - main - multimedia/ringrtc: Fix build on aarch64
Message-ID:  <696213a8.a80e.5298a824@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by mikael:

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

commit bfebe935d32794af3d3a06f1f0f485e2f0514c60
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2026-01-10 08:53:48 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-01-10 08:53:48 +0000

    multimedia/ringrtc: Fix build on aarch64
---
 .../patch-src__webrtc_src_rtc__base_cpu__info.cc   | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/multimedia/ringrtc/files/patch-src__webrtc_src_rtc__base_cpu__info.cc b/multimedia/ringrtc/files/patch-src__webrtc_src_rtc__base_cpu__info.cc
new file mode 100644
index 000000000000..a529fe33ba81
--- /dev/null
+++ b/multimedia/ringrtc/files/patch-src__webrtc_src_rtc__base_cpu__info.cc
@@ -0,0 +1,24 @@
+--- src/webrtc/src/rtc_base/cpu_info.cc.orig	2025-10-31 11:52:51 UTC
++++ src/webrtc/src/rtc_base/cpu_info.cc
+@@ -37,7 +37,9 @@
+ #include <intrin.h>
+ #endif
+ #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 +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;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696213a8.a80e.5298a824>