pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2020Q2]: pkgsrc/multimedia/ffmpeg4 Pullup ticket #6325 - reque...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a96a952b758c
branches: pkgsrc-2020Q2
changeset: 439359:a96a952b758c
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Fri Sep 18 18:25:15 2020 +0000
description:
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.
diffstat:
multimedia/ffmpeg4/hacks.mk | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 1707169ad193 -r a96a952b758c multimedia/ffmpeg4/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/ffmpeg4/hacks.mk Fri Sep 18 18:25:15 2020 +0000
@@ -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