git: 4de391bd32d8 - main - multimedia/vapoursynth-l-smash-works: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sat, 19 Aug 2023 16:04:52 UTC
The branch main has been updated by pkubaj:

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

commit 4de391bd32d8c3b6bbe34bcf4b46536157e7212e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-19 16:04:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-19 16:04:09 +0000

    multimedia/vapoursynth-l-smash-works: fix build on powerpc64le
    
    In file included from ../video_output.c:42:
    /usr/lib/clang/14.0.5/include/ppc_wrappers/emmintrin.h:32:2: error: "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
---
 multimedia/vapoursynth-l-smash-works/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/multimedia/vapoursynth-l-smash-works/Makefile b/multimedia/vapoursynth-l-smash-works/Makefile
index d7a92882baf2..e19593eea5d9 100644
--- a/multimedia/vapoursynth-l-smash-works/Makefile
+++ b/multimedia/vapoursynth-l-smash-works/Makefile
@@ -27,6 +27,8 @@ WRKSRC_SUBDIR=	VapourSynth
 
 PLIST_FILES=	lib/vapoursynth/libvslsmashsource.so
 
+CFLAGS_powerpc64le=	-DNO_WARN_X86_INTRINSICS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%DISTVERSION%%|${DISTVERSION}|g' \
 		${PATCH_WRKSRC}/meson.build