aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libav/files
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-11-09 16:48:09 +0800
committerjbeich <jbeich@FreeBSD.org>2016-11-09 16:48:09 +0800
commit29868c3e036ea70bba055ec5c9a4d8bc81227c20 (patch)
tree152088185065f114b0fe0e2a78335c2b309c606e /multimedia/libav/files
parentcf0a7a387e8682de7bc7803477aefe58eb0e5f3d (diff)
downloadfreebsd-ports-gnome-29868c3e036ea70bba055ec5c9a4d8bc81227c20.tar.gz
freebsd-ports-gnome-29868c3e036ea70bba055ec5c9a4d8bc81227c20.tar.zst
freebsd-ports-gnome-29868c3e036ea70bba055ec5c9a4d8bc81227c20.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
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