diff options
author | edwin <edwin@FreeBSD.org> | 2002-10-25 08:36:43 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-10-25 08:36:43 +0000 |
commit | 897b8a5d490b65cd0de5ed6501d53e39d7708913 (patch) | |
tree | b656d2532d5c5080e437a3494176f7307a040899 | |
parent | b0134cc26038d400fa00e5ecdc30eab2b9dc30ce (diff) | |
download | FreeBSD-ports-897b8a5d490b65cd0de5ed6501d53e39d7708913.zip FreeBSD-ports-897b8a5d490b65cd0de5ed6501d53e39d7708913.tar.gz |
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)
-rw-r--r-- | games/xlifegame/files/patch-xlifegame.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xlifegame/files/patch-xlifegame.h b/games/xlifegame/files/patch-xlifegame.h new file mode 100644 index 0000000..ec21a62 --- /dev/null +++ b/games/xlifegame/files/patch-xlifegame.h @@ -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); |