git: 537561cc72df - main - multimedia/vvenc: fix build on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Mon, 19 Oct 2026 09:32:09 UTC
The branch main has been updated by pkubaj:

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

commit 537561cc72df6d98d36bf8b5d4bd46d18dfee440
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-10-18 15:56:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-10-19 09:26:37 +0000

    multimedia/vvenc: fix build on powerpc64
    
    clang 19 crashes on v4f32 froundeven in the SIMDe x86 emulation
    (llvm/llvm-project#121390), so turn the x86 SIMD code off here too.
---
 multimedia/vvenc/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/multimedia/vvenc/Makefile b/multimedia/vvenc/Makefile
index 08fffd571c3a..a4aba8f1b519 100644
--- a/multimedia/vvenc/Makefile
+++ b/multimedia/vvenc/Makefile
@@ -24,7 +24,8 @@ CMAKE_ON=	BUILD_SHARED_LIBS
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH:Marmv?} || ${ARCH} == i386 || ${ARCH} == powerpc
+# powerpc64: clang 19 cannot select v4f32 froundeven, llvm/llvm-project#121390
+.if ${ARCH:Marmv?} || ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64
 CMAKE_OFF+=	VVENC_ENABLE_X86_SIMD
 .endif