The following build failures were reported by pkg-fallout:
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.
Fix: Apply the attached patch.
Patch attached with submission follows:
I will take it.
Date: Tue Sep 10 22:31:42 2013
New Revision: 326935
- add upstream patch to fix build on -CURRENT
Submitted by: Kevin Zheng <firstname.lastname@example.org> (maintainer)
head/games/bzflag/files/patch-include_VotingArbiter.h (contents, props changed)
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/bzflag/files/patch-include_VotingArbiter.h Tue Sep 10 22:31:42 2013 (r326935)
@@ -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),
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
Committed, thank you!