git: 61581ea26298 - main - multimedia/vlc: fix build on powerpc with ALTIVEC
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Dec 2022 00:58:16 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=61581ea2629831d372d27168f4b2d45570d6959f commit 61581ea2629831d372d27168f4b2d45570d6959f Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-12-21 00:57:58 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-12-21 00:57:58 +0000 multimedia/vlc: fix build on powerpc with ALTIVEC video_chroma/i420_yuy2.c:227:5: error: use of undeclared identifier 'vector' vector unsigned char u_vec; ^ video_chroma/i420_yuy2.c:228:5: error: use of undeclared identifier 'vector' vector unsigned char v_vec; ^ --- multimedia/vlc/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 26f64b93a75b..a31f0e0c7350 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -117,6 +117,7 @@ ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass ALTIVEC_CONFIGURE_ENABLE= altivec +ALTIVEC_CFLAGS= -maltivec AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= aom @@ -370,9 +371,6 @@ WITH_DVD_DEVICE?=/dev/cd0 .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MX11} -.endif - .if ${PORT_OPTIONS:MDEBUG} WITH_DEBUG=yes CONFIGURE_ARGS+=--enable-debug --disable-optimizations