Mon Sep 14 20:43:36 2020 UTC ()
Use -mvsx compiler flag on powerpc so that the appropriate section
of the compiler's <altivec.h> header is exposed, so that this builds.


(he)
diff -r0 -r1.1 pkgsrc/multimedia/ffmpeg4/hacks.mk

File Added: pkgsrc/multimedia/ffmpeg4/Attic/hacks.mk
# $NetBSD: hacks.mk,v 1.1 2020/09/14 20:43:36 he Exp $

.if !defined(FFMPEG4_HACKS_MK)
FFMPEG4_HACKS_MK=	defined

# [Mon Sep 14 12:41:59 CEST 2020 : he]
# On NetBSD/powerpc, enable -mvsx, to get vec_xl in scope.
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+=	-mvsx
.endif

.endif	# FFMPEG4_HACKS_MK