summaryrefslogtreecommitdiff
path: root/games/velena/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'games/velena/patches/patch-ac')
-rw-r--r--games/velena/patches/patch-ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/velena/patches/patch-ac b/games/velena/patches/patch-ac
new file mode 100644
index 00000000000..73b809a7e5c
--- /dev/null
+++ b/games/velena/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2007/07/25 00:11:10 rillig Exp $
+
+--- connect4.c.orig 1997-07-27 17:29:38.000000000 +0200
++++ connect4.c 2007-07-25 01:52:05.000000000 +0200
+@@ -276,7 +276,7 @@ void initTitle()
+ printf("All rights reserved.\n\n");
+ }
+
+-void main(short ac,char **av)
++int main(void)
+ {
+ short x;
+ struct board *board;
+@@ -324,7 +324,7 @@ void main(short ac,char **av)
+
+ free(board->solvable_groups);
+ free(board);
+- exit(0);
++ return 0;
+ }
+
+