Date: Sun, 9 Oct 2016 12:30:37 +0000 (UTC) From: Thomas Zander <riggs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r423593 - in branches/2016Q4/multimedia/ffmpeg: . files Message-ID: <201610091230.u99CUbLJ014685@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610091230.u99CUbLJ014685>