svn commit: r423593 - in branches/2016Q4/multimedia/ffmpeg: . files
Thomas Zander
riggs at FreeBSD.org
Sun Oct 9 12:30:39 UTC 2016
Author: riggs
Date: Sun Oct 9 12:30:37 2016
New Revision: 423593
URL: https://svnweb.freebsd.org/changeset/ports/423593
Log:
MFH: r423592
Fix runtime crashes on i386: enforce stack-alignment=16
PR: 205958
Submitted by: dim (patch via ports mailing list)
Reported by: otacilio.neto at bsd.com.br
Approved by: ports-secteam (fix blanket)
Modified:
branches/2016Q4/multimedia/ffmpeg/Makefile
branches/2016Q4/multimedia/ffmpeg/files/patch-configure
Directory Properties:
branches/2016Q4/ (props changed)
Modified: branches/2016Q4/multimedia/ffmpeg/Makefile
==============================================================================
--- branches/2016Q4/multimedia/ffmpeg/Makefile Sun Oct 9 12:19:32 2016 (r423592)
+++ branches/2016Q4/multimedia/ffmpeg/Makefile Sun Oct 9 12:30:37 2016 (r423593)
@@ -3,7 +3,7 @@
PORTNAME= ffmpeg
PORTVERSION= 2.8.8
-PORTREVISION= 2
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://ffmpeg.org/releases/
Modified: branches/2016Q4/multimedia/ffmpeg/files/patch-configure
==============================================================================
--- branches/2016Q4/multimedia/ffmpeg/files/patch-configure Sun Oct 9 12:19:32 2016 (r423592)
+++ branches/2016Q4/multimedia/ffmpeg/files/patch-configure Sun Oct 9 12:30:37 2016 (r423593)
@@ -14,6 +14,19 @@
cpu="generic"
intrinsics="none"
+@@ -5682,7 +5677,11 @@ elif enabled gcc; then
+ elif enabled llvm_gcc; then
+ check_cflags -mllvm -stack-alignment=16
+ elif enabled clang; then
+- check_cflags -mllvm -stack-alignment=16
++ if enabled x86_32; then
++ check_cflags -mllvm -stack-alignment=16
++ check_cflags -mstack-alignment=16
++ check_cflags -mstackrealign
++ fi
+ check_cflags -Qunused-arguments
+ check_cflags -Werror=implicit-function-declaration
+ check_cflags -Werror=missing-prototypes
@@ -5823,7 +5818,7 @@ ifndef MAIN_MAKEFILE
SRC_PATH:=\$(SRC_PATH:.%=..%)
endif
More information about the svn-ports-branches
mailing list