From owner-svn-ports-all@freebsd.org Sun Oct 9 12:30:38 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC582C07E86; Sun, 9 Oct 2016 12:30:38 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1680B2E; Sun, 9 Oct 2016 12:30:38 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u99CUbJs014687; Sun, 9 Oct 2016 12:30:37 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u99CUbLJ014685; Sun, 9 Oct 2016 12:30:37 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201610091230.u99CUbLJ014685@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sun, 9 Oct 2016 12:30:37 +0000 (UTC) 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 X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2016 12:30:39 -0000 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