From owner-svn-ports-head@freebsd.org Sun Nov 11 19:49:38 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEAB51122312; Sun, 11 Nov 2018 19:49:38 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E7326B177; Sun, 11 Nov 2018 19:49:38 +0000 (UTC) (envelope-from jbeich@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 16FA8169D5; Sun, 11 Nov 2018 19:49:38 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wABJnbkK081716; Sun, 11 Nov 2018 19:49:37 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wABJnbQ9081715; Sun, 11 Nov 2018 19:49:37 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201811111949.wABJnbQ9081715@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 11 Nov 2018 19:49:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484763 - head/multimedia/gstreamer1-libav/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/multimedia/gstreamer1-libav/files X-SVN-Commit-Revision: 484763 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4E7326B177 X-Spamd-Result: default: False [-106.88 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.77)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.90), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 19:49:39 -0000 Author: jbeich Date: Sun Nov 11 19:49:37 2018 New Revision: 484763 URL: https://svnweb.freebsd.org/changeset/ports/484763 Log: multimedia/gstreamer1-libav: switch to ffmpeg 4.0 alignment fix Obtained from: upstream Modified: head/multimedia/gstreamer1-libav/files/patch-gst-libs_ext_libav_configure (contents, props changed) Modified: head/multimedia/gstreamer1-libav/files/patch-gst-libs_ext_libav_configure ============================================================================== --- head/multimedia/gstreamer1-libav/files/patch-gst-libs_ext_libav_configure Sun Nov 11 19:49:22 2018 (r484762) +++ head/multimedia/gstreamer1-libav/files/patch-gst-libs_ext_libav_configure Sun Nov 11 19:49:37 2018 (r484763) @@ -14,12 +14,44 @@ cpu="generic" intrinsics="none" -@@ -6492,6 +6487,9 @@ elif enabled llvm_gcc; then - elif enabled clang; then +@@ -6487,11 +6482,39 @@ elif enabled gcc; then + check_cflags -Wformat + check_cflags -fdiagnostics-color=auto + enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized ++ if enabled x86_32; then ++ case $target_os in ++ *bsd*) ++ # BSDs don't guarantee a 16 byte aligned stack, but we can ++ # request GCC to try to maintain 16 byte alignment throughout ++ # function calls. Library entry points that might call assembly ++ # functions align the stack. (The parameter means 2^4 bytes.) ++ check_cflags -mpreferred-stack-boundary=4 ++ ;; ++ esac ++ fi + elif enabled llvm_gcc; then check_cflags -mllvm -stack-alignment=16 - check_cflags -mstack-alignment=16 + elif enabled clang; then +- check_cflags -mllvm -stack-alignment=16 +- check_cflags -mstack-alignment=16 + if enabled x86_32; then -+ check_cflags -mstackrealign ++ # Clang doesn't support maintaining alignment without assuming the ++ # same alignment in every function. If 16 byte alignment would be ++ # enabled, one would also have to either add attribute_align_arg on ++ # every single entry point into the libraries or enable -mstackrealign ++ # (doing stack realignment in every single function). ++ case $target_os in ++ mingw32|win32|*bsd*) ++ disable aligned_stack ++ ;; ++ *) ++ check_cflags -mllvm -stack-alignment=16 ++ check_cflags -mstack-alignment=16 ++ ;; ++ esac ++ else ++ check_cflags -mllvm -stack-alignment=16 ++ check_cflags -mstack-alignment=16 + fi check_cflags -Qunused-arguments check_cflags -Werror=implicit-function-declaration