From owner-svn-ports-all@FreeBSD.ORG Sat Jan 17 15:58:47 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7D42864; Sat, 17 Jan 2015 15:58:47 +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 8A5048DF; Sat, 17 Jan 2015 15:58:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0HFwl9t020589; Sat, 17 Jan 2015 15:58:47 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0HFwluQ020587; Sat, 17 Jan 2015 15:58:47 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201501171558.t0HFwluQ020587@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Sat, 17 Jan 2015 15:58:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377231 - in head/devel/ccache: . 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: Sat, 17 Jan 2015 15:58:47 -0000 Author: bdrewery Date: Sat Jan 17 15:58:46 2015 New Revision: 377231 URL: https://svnweb.freebsd.org/changeset/ports/377231 QAT: https://qat.redports.org/buildarchive/r377231/ Log: Fix use with clang. CCACHE_CPP2 is still required. Otherwise the errors with parenthesis occur again. Seen with www/uwsgi. Reported by: blackflow on freenode Added: head/devel/ccache/files/patch-conf.c (contents, props changed) Modified: head/devel/ccache/Makefile Modified: head/devel/ccache/Makefile ============================================================================== --- head/devel/ccache/Makefile Sat Jan 17 15:58:01 2015 (r377230) +++ head/devel/ccache/Makefile Sat Jan 17 15:58:46 2015 (r377231) @@ -3,7 +3,7 @@ PORTNAME= ccache PORTVERSION= 3.2.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.samba.org/ftp/ccache/ \ LOCAL/bdrewery Added: head/devel/ccache/files/patch-conf.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/ccache/files/patch-conf.c Sat Jan 17 15:58:46 2015 (r377231) @@ -0,0 +1,24 @@ +--- conf.c.orig 2015-01-16 16:26:23.872241677 -0600 ++++ conf.c 2015-01-16 16:27:00.595237894 -0600 +@@ -15,6 +15,9 @@ + * this program; if not, write to the Free Software Foundation, Inc., 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ ++#if defined(__FreeBSD__) ++#include ++#endif + + #include "conf.h" + #include "ccache.h" +@@ -321,7 +324,11 @@ conf_create(void) + conf->read_only = false; + conf->read_only_direct = false; + conf->recache = false; ++#if __FreeBSD_version >= 1000024 || defined(CC_IS_CLANG) ++ conf->run_second_cpp = true; ++#else + conf->run_second_cpp = false; ++#endif + conf->sloppiness = 0; + conf->stats = true; + conf->temporary_dir = x_strdup("");