diff options
author | rillig <rillig@pkgsrc.org> | 2007-07-25 00:11:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-07-25 00:11:10 +0000 |
commit | bd89c633a4a26a72d417fca3a4984508a016f914 (patch) | |
tree | 04abcc5c3d146a7be62df04d7fe3a599b5580f53 /games/velena/patches/patch-ac | |
parent | ddd12d5ad70eb6cc600918b1b95867ce86c74cfc (diff) | |
download | pkgsrc-bd89c633a4a26a72d417fca3a4984508a016f914.tar.gz |
Imported velena.
Velena is a program playing connect-four based on the work of Victor
Allis, who proved in 1986 that the first player can always win.
Diffstat (limited to 'games/velena/patches/patch-ac')
-rw-r--r-- | games/velena/patches/patch-ac | 22 |
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; + } + + |