Made games/xlifegame buildable under -current again
PR: ports/44266 Submitted by: Mark Huizer (xaa@dodh.org) Reviewed by: kris@freebsd.org Approved by: HIYAMA Takeshi <hym@cocoa.freemail.ne.jp> (maintainer)
This commit is contained in:
parent
83d131f8e1
commit
28af096bd9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68792
11
games/xlifegame/files/patch-xlifegame.h
Normal file
11
games/xlifegame/files/patch-xlifegame.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- xlifegame.h.orig Sat Oct 19 16:21:33 2002
|
||||
+++ xlifegame.h Sat Oct 19 16:21:52 2002
|
||||
@@ -46,7 +46,7 @@
|
||||
OptionError(char *option)
|
||||
{
|
||||
printf(" X Life Game version %s \n by Takeshi Hiyama\n",XLIFEGAME_VERSION);
|
||||
- if(strncmp(option, "-h"))
|
||||
+ if(strncmp(option, "-h", 3))
|
||||
printf("\nxlife: bad command line option \"%s\"\n", option);
|
||||
printf("usage: xlife [-display <displayname>] [-wait microseconds (default 10000)]\n [-x width (default 60)] [-y height (default 60)] [-h]\n");
|
||||
exit(1);
|
Loading…
Reference in New Issue
Block a user