git: aaa90fdb1849 - main - multimedia/obs-studio: fix build on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Dec 2024 17:34:10 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aaa90fdb184994bb6a155d7ed5059b9f4bd66825
commit aaa90fdb184994bb6a155d7ed5059b9f4bd66825
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-11 12:01:45 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-11 17:29:03 +0000
multimedia/obs-studio: fix build on powerpc64le
/wrkdirs/usr/ports/multimedia/obs-studio/work/obs-studio-30.2.3/libobs/graphics/../util/simde/x86/sse2.h:1793:58: error: Current handling of vector bool and vector pixel types in this context are deprecated. The default behaviour will soon change to that implied by the '-altivec-compat=xl' option [-Werror,-Wdeprecated-altivec-src-compat]
1793 | r_.i64 = HEDLEY_STATIC_CAST(__typeof__(r_.i64), (a_.f64 != b_.f64));
---
multimedia/obs-studio/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile
index db1cb592639e..0065021ee0aa 100644
--- a/multimedia/obs-studio/Makefile
+++ b/multimedia/obs-studio/Makefile
@@ -69,6 +69,7 @@ CMAKE_ARGS= -DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}" \
-DQT_VERSION=6 \
-DPython_EXECUTABLE="${PYTHON_CMD}"
+CFLAGS_powerpc64le= -Wno-error=deprecated-altivec-src-compat
LDFLAGS+= -fPIC # pending https://github.com/obsproject/obs-studio/issues/3436
OPTIONS_DEFINE= BROWSER PIPEWIRE VLC VST WAYLAND