From owner-svn-ports-head@freebsd.org Fri Dec 7 00:12:56 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 2737C1321A8F; Fri, 7 Dec 2018 00:12:56 +0000 (UTC) (envelope-from linimon@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 B8DD76D77D; Fri, 7 Dec 2018 00:12:55 +0000 (UTC) (envelope-from linimon@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 99489333E; Fri, 7 Dec 2018 00:12:55 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB70Ctu5068061; Fri, 7 Dec 2018 00:12:55 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB70Ctpt068060; Fri, 7 Dec 2018 00:12:55 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201812070012.wB70Ctpt068060@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 7 Dec 2018 00:12:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486813 - head/graphics/graphene/files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/graphics/graphene/files X-SVN-Commit-Revision: 486813 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B8DD76D77D X-Spamd-Result: default: False [-1.89 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.86)[-0.863,0]; NEURAL_HAM_LONG(-0.08)[-0.083,0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Fri, 07 Dec 2018 00:12:56 -0000 Author: linimon Date: Fri Dec 7 00:12:55 2018 New Revision: 486813 URL: https://svnweb.freebsd.org/changeset/ports/486813 Log: This port sets -Werror=shadow, yet uses a variable 'round' in a function, which shadows the function declared in math.h, causing a build failure on gcc-based architectures.. PR: 231912 Submitted by: jhibbits Reviewed by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Added: head/graphics/graphene/files/ head/graphics/graphene/files/patch-src_bench_graphene-bench-utils.c (contents, props changed) Added: head/graphics/graphene/files/patch-src_bench_graphene-bench-utils.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/graphene/files/patch-src_bench_graphene-bench-utils.c Fri Dec 7 00:12:55 2018 (r486813) @@ -0,0 +1,20 @@ +--- src/bench/graphene-bench-utils.c.orig 2018-12-04 11:34:21 UTC ++++ src/bench/graphene-bench-utils.c +@@ -271,7 +271,7 @@ graphene_bench_print_results (const char *impl, + { + const char *d_unit, *round_unit, *iter_unit; + double d = format_time (elapsed, &d_unit); +- double round = format_time (avg, &round_unit); ++ double my_round = format_time (avg, &round_unit); + double iter = format_time (avg / bench_unit_rounds, &iter_unit); + + switch (bench_output) +@@ -283,7 +283,7 @@ graphene_bench_print_results (const char *impl, + " Per iteration: %.6f %s\n", + path, (gint64) (num_rounds * bench_unit_rounds), impl, + d, d_unit, num_rounds, +- round, round_unit, bench_unit_rounds, ++ my_round, round_unit, bench_unit_rounds, + iter, iter_unit); + break; +