Commit aaa90fdb authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

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));
parent 600465f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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