pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/ffmpeg4



Module Name:    pkgsrc
Committed By:   he
Date:           Mon Sep 14 20:43:36 UTC 2020

Added Files:
        pkgsrc/multimedia/ffmpeg4: hacks.mk

Log Message:
Use -mvsx compiler flag on powerpc so that the appropriate section
of the compiler's <altivec.h> header is exposed, so that this builds.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/ffmpeg4/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/multimedia/ffmpeg4/hacks.mk
diff -u /dev/null pkgsrc/multimedia/ffmpeg4/hacks.mk:1.1
--- /dev/null   Mon Sep 14 20:43:36 2020
+++ pkgsrc/multimedia/ffmpeg4/hacks.mk  Mon Sep 14 20:43:36 2020
@@ -0,0 +1,12 @@
+# $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



Home | Main Index | Thread Index | Old Index