pkgsrc/games/velena/patches/patch-connect4_c
dholland 2c7b74aa36 Minor rototill and respin patches; add patch comments, etc. I was taking
a shot at making it work on LP64, but there seem to be deeper problems
than the usual sorts of things. Add a comment in the makefile documenting
a case that fails on LP64 but not ILP32. PKGREVISION++.
2011-05-28 22:41:43 +00:00

24 lines
525 B
Text

$NetBSD: patch-connect4_c,v 1.1 2011/05/28 22:41:43 dholland Exp $
- void main
--- 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;
}