From owner-freebsd-gnome@freebsd.org Fri Dec 7 00:14:43 2018 Return-Path: Delivered-To: freebsd-gnome@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 359DB1321B69 for ; Fri, 7 Dec 2018 00:14:43 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AC22A6D8D3 for ; Fri, 7 Dec 2018 00:14:42 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: by mailman.ysv.freebsd.org (Postfix) id 68F761321B68; Fri, 7 Dec 2018 00:14:42 +0000 (UTC) Delivered-To: gnome@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 55E181321B67 for ; Fri, 7 Dec 2018 00:14:42 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6C4E6D8D1; Fri, 7 Dec 2018 00:14:41 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id 6B09517087; Fri, 7 Dec 2018 00:14:40 +0000 (UTC) Date: Fri, 7 Dec 2018 00:14:39 +0000 From: Mark Linimon To: gnome@FreeBSD.org Cc: linimon@FreeBSD.org Subject: [linimon@FreeBSD.org: svn commit: r486813 - head/graphics/graphene/files] Message-ID: <20181207001439.GE5776@lonesome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: AC22A6D8D3 X-Spamd-Result: default: False [-5.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; FROM_HAS_DN(0.00)[]; FORWARDED(0.00)[gnome@mailman.ysv.freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mail.soaustin.net]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.55)[ip: (-9.87), ipnet: 2001:1900:2254::/48(-4.53), asn: 10310(-3.26), country: US(-0.09)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[gnome@FreeBSD.org ..,freebsd-gnome@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2018 00:14:43 -0000 FYI mcl ----- Forwarded message from Mark Linimon ----- Date: Fri, 7 Dec 2018 00:12:55 +0000 (UTC) From: Mark Linimon To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486813 - head/graphics/graphene/files 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; + ----- End forwarded message -----