From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 10 00:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E2846906 for ; Tue, 10 Sep 2013 00:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C43222CB8 for ; Tue, 10 Sep 2013 00:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8A000sx091806 for ; Tue, 10 Sep 2013 00:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8A000UK091610; Tue, 10 Sep 2013 00:00:00 GMT (envelope-from gnats) Resent-Date: Tue, 10 Sep 2013 00:00:00 GMT Resent-Message-Id: <201309100000.r8A000UK091610@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Zheng Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1B5DB7E3 for ; Mon, 9 Sep 2013 23:51:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E4FDF2C77 for ; Mon, 9 Sep 2013 23:51:03 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r89Np3LL067989 for ; Mon, 9 Sep 2013 23:51:03 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r89Np34T067984; Mon, 9 Sep 2013 23:51:03 GMT (envelope-from nobody) Message-Id: <201309092351.r89Np34T067984@oldred.freebsd.org> Date: Mon, 9 Sep 2013 23:51:03 GMT From: Kevin Zheng To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181976: [maintainer-update] Fix build for games/bzflag on 10.0-CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2013 00:00:01 -0000 >Number: 181976 >Category: ports >Synopsis: [maintainer-update] Fix build for games/bzflag on 10.0-CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Sep 10 00:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Kevin Zheng >Release: 9.2-RC3 >Organization: >Environment: FreeBSD sigma.local 9.2-RC3 FreeBSD 9.2-RC3 #0 r254795: Sun Aug 25 00:42:01 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: The following build failures were reported by pkg-fallout: http://beefy2.isc.freebsd.org/bulk/head-default/2013-09-04_22h17m34s/logs/bzflag-2.4.2_2.log http://beefy1.isc.freebsd.org/bulk/head-default/2013-09-04_23h56m58s/logs/bzflag-2.4.2_2.log Clang/LLVM did not accept the default constructor. The fix was obtained and back-ported from the upstream repo. This patch has been tested to work on 8.4-RELEASE and 9.2-RC3, but has NOT been tested on 10.0-CURRENT (due to Redports issues). Please test this patch on a FreeBSD 10 machine to make sure this works. >How-To-Repeat: >Fix: Apply the attached patch. Patch attached with submission follows: diff -ruN /usr/ports/games/bzflag/files/patch-include__VotingArbiter.h bzflag/files/patch-include__VotingArbiter.h --- /usr/ports/games/bzflag/files/patch-include__VotingArbiter.h 1969-12-31 18:00:00.000000000 -0600 +++ bzflag/files/patch-include__VotingArbiter.h 2013-09-06 15:19:11.000000000 -0500 @@ -0,0 +1,19 @@ +--- ./include/VotingArbiter.h.orig 2012-07-15 18:32:02.000000000 -0500 ++++ ./include/VotingArbiter.h 2013-09-06 15:16:49.000000000 -0500 +@@ -231,11 +231,11 @@ + }; + + +-inline VotingArbiter::VotingArbiter(unsigned short int voteTime=60, +- unsigned short int vetoTime=20, +- unsigned short int votesRequired=2, +- float votePercentage=50.1, +- unsigned short int voteRepeatTime=300) ++inline VotingArbiter::VotingArbiter(unsigned short int voteTime, ++ unsigned short int vetoTime, ++ unsigned short int votesRequired, ++ float votePercentage, ++ unsigned short int voteRepeatTime) + : _votingBooth(NULL), + _maxVotes(votesRequired+1), + _voteTime(voteTime), >Release-Note: >Audit-Trail: >Unformatted: