summaryrefslogtreecommitdiff
path: root/games/battleball/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2012-07-03 18:44:45 +0000
committerjoerg <joerg>2012-07-03 18:44:45 +0000
commitb430c42a7fedbe97e676e1b0fa06f600833588fa (patch)
tree7fd171ac2d2c94a2fc26fd9f74f97670fec51f59 /games/battleball/patches
parent3475f6c7421045268e3265a41a2aafbd6db2e77c (diff)
downloadpkgsrc-b430c42a7fedbe97e676e1b0fa06f600833588fa.tar.gz
Fix main()
Diffstat (limited to 'games/battleball/patches')
-rw-r--r--games/battleball/patches/patch-bb_main.C13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/battleball/patches/patch-bb_main.C b/games/battleball/patches/patch-bb_main.C
new file mode 100644
index 00000000000..83bf32e215b
--- /dev/null
+++ b/games/battleball/patches/patch-bb_main.C
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb_main.C,v 1.1 2012/07/03 18:44:45 joerg Exp $
+
+--- bb/main.C.orig 2012-07-03 11:09:12.000000000 +0000
++++ bb/main.C
+@@ -802,7 +802,7 @@ void battleBall::PlayOneRound(const gobL
+
+ /*=========================================================================*/
+ // A long and complicated main() function!
+-main (int argc, char *argv[]) {
++int main (int argc, char *argv[]) {
+ bb= new battleBall(argc,argv);
+ bb->Play();
+ delete bb;