From owner-svn-ports-all@FreeBSD.ORG Wed Sep 24 00:48:45 2014 Return-Path: Delivered-To: svn-ports-all@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 E5C84F85; Wed, 24 Sep 2014 00:48:45 +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 D21D4191; Wed, 24 Sep 2014 00:48:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8O0mjTH022550; Wed, 24 Sep 2014 00:48:45 GMT (envelope-from avilla@FreeBSD.org) Received: (from avilla@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8O0mjK8022549; Wed, 24 Sep 2014 00:48:45 GMT (envelope-from avilla@FreeBSD.org) Message-Id: <201409240048.s8O0mjK8022549@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 00:48:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369138 - head/multimedia/mlt/files X-SVN-Group: ports-head 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.18-1 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: Wed, 24 Sep 2014 00:48:46 -0000 Author: avilla Date: Wed Sep 24 00:48:45 2014 New Revision: 369138 URL: http://svnweb.freebsd.org/changeset/ports/369138 QAT: https://qat.redports.org/buildarchive/r369138/ Log: - Fix build with Clang. PR: 189043 MFH: 2014Q3 Added: head/multimedia/mlt/files/patch-gite50606c (contents, props changed) Added: head/multimedia/mlt/files/patch-gite50606c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mlt/files/patch-gite50606c Wed Sep 24 00:48:45 2014 (r369138) @@ -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)"