1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

- add upstream patch to fix build on -CURRENT

PR:		181976
Submitted by:	Kevin Zheng <kevinz5000@gmail.com> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2013-09-10 22:31:42 +00:00
parent f25ddab47a
commit a8a82c3fad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326935

View File

@ -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),