aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libav/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-09 08:48:09 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-09 08:48:09 +0000
commitdeca2661afb705699ca50f9a18dc8a2def5a3f15 (patch)
tree152088185065f114b0fe0e2a78335c2b309c606e /multimedia/libav/files
parentc1296d8b5860669fb82150a20374a328506bb32a (diff)
downloadports-deca2661afb705699ca50f9a18dc8a2def5a3f15.tar.gz
ports-deca2661afb705699ca50f9a18dc8a2def5a3f15.zip
multimedia/libav: fix h264 decoder crash on 11.0+ i386
-mstackrealign isn't required (yet?) unlike multimedia/ffmpeg. PR: 205958 Obtained from: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=d2af93ac1608 Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=425781
Diffstat (limited to 'multimedia/libav/files')
-rw-r--r--multimedia/libav/files/patch-configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/multimedia/libav/files/patch-configure b/multimedia/libav/files/patch-configure
index 63f630695a97..4f9affa1d3c8 100644
--- a/multimedia/libav/files/patch-configure
+++ b/multimedia/libav/files/patch-configure
@@ -11,6 +11,14 @@
check_cc $($cflags_filter $flags) || return
flags=$($ldflags_filter $flags)
libs=$($ldflags_filter $libs)
+@@ -4436,6 +4436,7 @@ elif enabled llvm_gcc; then
+ check_cflags -mllvm -stack-alignment=16
+ elif enabled clang; then
+ check_cflags -mllvm -stack-alignment=16
++ check_cflags -mstack-alignment=16
+ check_cflags -Qunused-arguments
+ check_cflags -Werror=implicit-function-declaration
+ check_cflags -Werror=missing-prototypes
@@ -4644,7 +4644,7 @@ DOCDIR=\$(DESTDIR)$docdir
MANDIR=\$(DESTDIR)$mandir
SRC_PATH=$source_path