aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--multimedia/libav/Makefile2
-rw-r--r--multimedia/libav/files/patch-configure8
2 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/libav/Makefile b/multimedia/libav/Makefile
index 70f3b837b94b..c05af593d9f9 100644
--- a/multimedia/libav/Makefile
+++ b/multimedia/libav/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libav
PORTVERSION= 11.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://libav.org/releases/
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