Subject: CVS commit: pkgsrc/multimedia
From: Taylor R Campbell
Date: 2024-01-27 03:10:35
Message id: 20240127021035.5D342FA42@cvs.NetBSD.org

Log Message:
multimedia/ffmpeg5: Handle machdep.altivec on NetBSD/powerpc too.

Bump revision because this built without the change on
NetBSD/powerpc, but didn't respect machdep.altivec at runtime.

Don't build with -maltivec -mabi=altivec on powerpc.  This doesn't
disable the use of altivec; it just prevents the compiler from trying
to use altivec instructions, like vector-zero and vector-store to
zero-initialize an object on the stack, outside the parts that are
gated on runtime CPU feature detection.

Fixes ffmpeg5 on powerpc CPUs without altivec.

Files:
RevisionActionfile
1.31modifypkgsrc/multimedia/ffmpeg5/Makefile
1.10modifypkgsrc/multimedia/ffmpeg5/Makefile.common
1.11modifypkgsrc/multimedia/ffmpeg5/distinfo
1.21modifypkgsrc/multimedia/ffplay5/Makefile
1.1addpkgsrc/multimedia/ffmpeg5/patches/patch-libavutil_ppc_cpu.c