From owner-svn-ports-branches@FreeBSD.ORG Wed Sep 24 07:42:22 2014 Return-Path: Delivered-To: svn-ports-branches@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 202DDB16; Wed, 24 Sep 2014 07:42:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 E5702D99; Wed, 24 Sep 2014 07:42:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8O7gLs3021086; Wed, 24 Sep 2014 07:42:21 GMT (envelope-from avilla@FreeBSD.org) Received: (from avilla@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8O7gLce021085; Wed, 24 Sep 2014 07:42:21 GMT (envelope-from avilla@FreeBSD.org) Message-Id: <201409240742.s8O7gLce021085@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: avilla set sender to avilla@FreeBSD.org using -f From: Alberto Villa Date: Wed, 24 Sep 2014 07:42:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r369163 - branches/2014Q3/multimedia/mlt/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-branches@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 07:42:22 -0000 Author: avilla Date: Wed Sep 24 07:42:21 2014 New Revision: 369163 URL: http://svnweb.freebsd.org/changeset/ports/369163 QAT: https://qat.redports.org/buildarchive/r369163/ Log: MFH: r369138 - Fix build with Clang. PR: 189043 Approved by: portmgr (rea) Added: branches/2014Q3/multimedia/mlt/files/patch-gite50606c - copied unchanged from r369138, head/multimedia/mlt/files/patch-gite50606c Modified: Directory Properties: branches/2014Q3/ (props changed) Copied: branches/2014Q3/multimedia/mlt/files/patch-gite50606c (from r369138, head/multimedia/mlt/files/patch-gite50606c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q3/multimedia/mlt/files/patch-gite50606c Wed Sep 24 07:42:21 2014 (r369163, copy of r369138, head/multimedia/mlt/files/patch-gite50606c) @@ -0,0 +1,27 @@ +commit e50606ca3f680029b7f16bbbf284adac34f30ded +Author: Dan Dennedy +Date: Mon Jun 2 19:18:50 2014 -0700 + + Fix compilation with clang. + +diff --git a/configure b/configure +index eb20880..e540704 100755 +--- configure ++++ configure +@@ -81,10 +81,12 @@ build_config() + if [ "$optimisations" = "true" ] + then + echo "OPTIMISATIONS=-O2 -pipe" +- # Since gcc 4.6, this optimization enabled with -O1 causes filter_line_sse2 to crash. +- echo "OPTIMISATIONS+=-fno-tree-dominator-opts" +- # Since gcc 4.6, this optimization enabled with -O2 causes filter_line_sse2 to crash. +- echo "OPTIMISATIONS+=-fno-tree-pre" ++ if $("$CC" --version 2> /dev/null | grep gcc); then ++ # Since gcc 4.6, this optimization enabled with -O1 causes filter_line_sse2 to crash. ++ echo "OPTIMISATIONS+=-fno-tree-dominator-opts" ++ # Since gcc 4.6, this optimization enabled with -O2 causes filter_line_sse2 to crash. ++ echo "OPTIMISATIONS+=-fno-tree-pre" ++ fi + fi + + echo "CFLAGS+=-Wall -DPIC \$(TARGETARCH) \$(TARGETCPU) \$(OPTIMISATIONS) \$(MMX_FLAGS) \$(SSE_FLAGS) \$(SSE2_FLAGS) \$(DEBUG_FLAGS) \$(LARGE_FILE)"