pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2020Q2] pkgsrc/multimedia/ffmpeg4
Module Name: pkgsrc
Committed By: bsiegert
Date: Fri Sep 18 18:25:15 UTC 2020
Added Files:
pkgsrc/multimedia/ffmpeg4 [pkgsrc-2020Q2]: hacks.mk
Log Message:
Pullup ticket #6325 - requested by he
multimedia/ffmpeg4: PowerPC build fix
Revisions pulled up:
- multimedia/ffmpeg4/hacks.mk 1.1
---
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.2.2 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.2.2
--- /dev/null Fri Sep 18 18:25:15 2020
+++ pkgsrc/multimedia/ffmpeg4/hacks.mk Fri Sep 18 18:25:15 2020
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1.2.2 2020/09/18 18:25:15 bsiegert 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