From 74fb232fba119227d49ae3b3dfca5ccf89f6143f Mon Sep 17 00:00:00 2001 From: rm Date: Tue, 10 Sep 2013 22:31:42 +0000 Subject: - add upstream patch to fix build on -CURRENT PR: 181976 Submitted by: Kevin Zheng (maintainer) --- games/bzflag/files/patch-include_VotingArbiter.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 games/bzflag/files/patch-include_VotingArbiter.h (limited to 'games') diff --git a/games/bzflag/files/patch-include_VotingArbiter.h b/games/bzflag/files/patch-include_VotingArbiter.h new file mode 100644 index 000000000000..d946b3019453 --- /dev/null +++ b/games/bzflag/files/patch-include_VotingArbiter.h @@ -0,0 +1,20 @@ +--- ./include/VotingArbiter.h.orig 2012-07-16 03:32:02.000000000 +0400 ++++ ./include/VotingArbiter.h 2013-09-11 02:18:23.000000000 +0400 +@@ -230,12 +230,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), -- cgit