diff options
author | joerg <joerg@pkgsrc.org> | 2013-02-26 10:29:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-02-26 10:29:06 +0000 |
commit | 8f3d28b5e7a4139117869b8387a654cf83f81b3c (patch) | |
tree | 76e3ec7b936805cad48436a321b60dc2794d56db /games | |
parent | 0bb476247999c2744c42f41dfb5910afe68f159a (diff) | |
download | pkgsrc-8f3d28b5e7a4139117869b8387a654cf83f81b3c.tar.gz |
Don't add default arguments when implementing a function.
Diffstat (limited to 'games')
-rw-r--r-- | games/bzflag/distinfo | 3 | ||||
-rw-r--r-- | games/bzflag/patches/patch-include_VotingArbiter.h | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/games/bzflag/distinfo b/games/bzflag/distinfo index 47c77e3cf43..e7be7c6a41c 100644 --- a/games/bzflag/distinfo +++ b/games/bzflag/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.13 2010/07/25 13:13:26 obache Exp $ +$NetBSD: distinfo,v 1.14 2013/02/26 10:29:06 joerg Exp $ SHA1 (bzflag-2.0.16.tar.gz) = 5d4c949038c4a0a873d58f656fab8f9288cb73ff RMD160 (bzflag-2.0.16.tar.gz) = 93393b8cc0afd3922706b9e7e0e7fa99e8ac17e7 Size (bzflag-2.0.16.tar.gz) = 12146215 bytes SHA1 (patch-ad) = 626ff20e3b73f77734995732f34869550f590d5e +SHA1 (patch-include_VotingArbiter.h) = 2d6348c5c7a834f29462d028f003866243959e56 diff --git a/games/bzflag/patches/patch-include_VotingArbiter.h b/games/bzflag/patches/patch-include_VotingArbiter.h new file mode 100644 index 00000000000..8af47ad6f4a --- /dev/null +++ b/games/bzflag/patches/patch-include_VotingArbiter.h @@ -0,0 +1,21 @@ +$NetBSD: patch-include_VotingArbiter.h,v 1.1 2013/02/26 10:29:06 joerg Exp $ + +--- include/VotingArbiter.h.orig 2013-02-25 16:00:51.000000000 +0000 ++++ include/VotingArbiter.h +@@ -231,11 +231,11 @@ public: + }; + + +-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), |