From owner-svn-ports-head@freebsd.org Tue Feb 7 18:28:17 2017 Return-Path: Delivered-To: svn-ports-head@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 7EA34CD5998; Tue, 7 Feb 2017 18:28:17 +0000 (UTC) (envelope-from bdrewery@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 58EA72B; Tue, 7 Feb 2017 18:28:17 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v17ISGOX005572; Tue, 7 Feb 2017 18:28:16 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v17ISGwJ005569; Tue, 7 Feb 2017 18:28:16 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201702071828.v17ISGwJ005569@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Tue, 7 Feb 2017 18:28:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433577 - 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-head@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 07 Feb 2017 18:28:17 -0000 Author: bdrewery Date: Tue Feb 7 18:28:16 2017 New Revision: 433577 URL: https://svnweb.freebsd.org/changeset/ports/433577 Log: - Update to 3.3.3 Changes: https://ccache.samba.org/releasenotes.html#_ccache_3_3_3 Deleted: head/devel/ccache/files/patch-conf.c Modified: head/devel/ccache/Makefile head/devel/ccache/distinfo head/devel/ccache/files/patch-ccache.c Modified: head/devel/ccache/Makefile ============================================================================== --- head/devel/ccache/Makefile Tue Feb 7 18:21:33 2017 (r433576) +++ head/devel/ccache/Makefile Tue Feb 7 18:28:16 2017 (r433577) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ccache -PORTVERSION= 3.2.9 +PORTVERSION= 3.3.3 CATEGORIES= devel MASTER_SITES= http://www.samba.org/ftp/ccache/ \ LOCAL/bdrewery Modified: head/devel/ccache/distinfo ============================================================================== --- head/devel/ccache/distinfo Tue Feb 7 18:21:33 2017 (r433576) +++ head/devel/ccache/distinfo Tue Feb 7 18:28:16 2017 (r433577) @@ -1,3 +1,3 @@ -TIMESTAMP = 1486160032 -SHA256 (ccache-3.2.9.tar.gz) = 1e13961b83a3d215c4013469c149414a79312a22d3c7bf9f946abac9ee33e63f -SIZE (ccache-3.2.9.tar.gz) = 447006 +TIMESTAMP = 1486160144 +SHA256 (ccache-3.3.3.tar.gz) = 87a399a2267cfac3f36411fbc12ff8959f408cffd050ad15fe423df88e977e8f +SIZE (ccache-3.3.3.tar.gz) = 445931 Modified: head/devel/ccache/files/patch-ccache.c ============================================================================== --- head/devel/ccache/files/patch-ccache.c Tue Feb 7 18:21:33 2017 (r433576) +++ head/devel/ccache/files/patch-ccache.c Tue Feb 7 18:28:16 2017 (r433577) @@ -4,49 +4,49 @@ already available. -bdrewery ---- ccache.c.orig 2015-10-08 19:14:23 UTC -+++ ccache.c -@@ -1350,6 +1350,11 @@ compiler_is_clang(struct args *args) +--- ccache.c.orig 2016-10-26 14:31:19.000000000 -0700 ++++ ccache.c 2017-02-03 14:24:35.466505000 -0800 +@@ -1468,6 +1468,11 @@ compiler_is_clang(struct args *args) { char *name = basename(args->argv[0]); - bool is = strstr(name, "clang") != NULL; + bool result = strstr(name, "clang") != NULL; +#ifdef CC_IS_CLANG + if (strcmp(name, "cc") == 0 || strcmp(name, "CC") == 0 || + strcmp(name, "c++") == 0) -+ is = true; ++ result = true; +#endif free(name); - return is; + return result; } -@@ -1359,6 +1364,11 @@ compiler_is_gcc(struct args *args) +@@ -1477,6 +1482,11 @@ compiler_is_gcc(struct args *args) { char *name = basename(args->argv[0]); - bool is = strstr(name, "gcc") || strstr(name, "g++"); + bool result = strstr(name, "gcc") || strstr(name, "g++"); +#ifdef CC_IS_GCC + if (strcmp(name, "cc") == 0 || strcmp(name, "CC") == 0 || + strcmp(name, "c++") == 0) -+ is = true; ++ result = true; +#endif free(name); - return is; + return result; } -@@ -1463,6 +1473,7 @@ calculate_common_hash(struct args *args, +@@ -1592,6 +1602,7 @@ calculate_common_hash(struct args *args, free(p); } +#if 0 - /* Possibly hash GCC_COLORS (for color diagnostics). */ + // Possibly hash GCC_COLORS (for color diagnostics). if (compiler_is_gcc(args)) { const char *gcc_colors = getenv("GCC_COLORS"); -@@ -1471,6 +1482,7 @@ calculate_common_hash(struct args *args, +@@ -1600,6 +1611,7 @@ calculate_common_hash(struct args *args, hash_string(hash, gcc_colors); } } +#endif } - /* -@@ -1509,6 +1521,13 @@ calculate_object_hash(struct args *args, + // Update a hash sum with information specific to the direct and preprocessor +@@ -1629,6 +1641,13 @@ calculate_object_hash(struct args *args, continue; } @@ -57,6 +57,6 @@ + continue; + } + - /* The -fdebug-prefix-map option may be used in combination with - * CCACHE_BASEDIR to reuse results across different directories. Skip it - * from hashing. */ + // The -fdebug-prefix-map option may be used in combination with + // CCACHE_BASEDIR to reuse results across different directories. Skip it + // from hashing.