diff options
author | osa <osa@FreeBSD.org> | 2003-07-18 18:44:35 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-07-18 18:44:35 +0800 |
commit | 720b383d9f58dfa45dd4117ce21fbdb3c20a4edd (patch) | |
tree | d30f12a676fe3aa8fca697b6a5874d6b5d321117 /games/phalanx | |
parent | e13f67923d1f164a52ba85c02d2621859efa0448 (diff) | |
download | freebsd-ports-gnome-720b383d9f58dfa45dd4117ce21fbdb3c20a4edd.tar.gz freebsd-ports-gnome-720b383d9f58dfa45dd4117ce21fbdb3c20a4edd.tar.zst freebsd-ports-gnome-720b383d9f58dfa45dd4117ce21fbdb3c20a4edd.zip |
Fix build on -CURRENT (gcc 3.3)
Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
PR: 54609
Diffstat (limited to 'games/phalanx')
-rw-r--r-- | games/phalanx/files/patch-phalanx.c | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/games/phalanx/files/patch-phalanx.c b/games/phalanx/files/patch-phalanx.c new file mode 100644 index 000000000000..b5b3345475b8 --- /dev/null +++ b/games/phalanx/files/patch-phalanx.c @@ -0,0 +1,57 @@ +--- phalanx.c.orig Fri Jul 18 13:36:59 2003 ++++ phalanx.c Fri Jul 18 13:38:52 2003 +@@ -11,30 +11,30 @@ + + void badoptions(void) + { +-printf("\ +-Usage: phalanx [options] [<moves> <minutes> [<increment in seconds>]] +- phalanx [options] [<seconds per move>] +- phalanx bench +- phalanx bcreate [options] +-Options: -t <transposition table size in kilobytes> +- -f <fixed search time in seconds> +- -x <+/-> xboard mode on/off default: on +- -p <+/-> permanent brain on/off default: off +- -s <+/-> show thinking on/off default: off +- -c <+/-> cpu time default: off +- -o <+/-> polling input default: on +- -b <+/-> opening book default: on +- -r <resign value in centipawns> default: 0 (no resigning) +- -e <easy level 0...100> default: 0 (best play) +- -l <+/-> learning on/off default: on +- -v print version and exit +- -P <primary book directory> +- -S <secondary book directory> +- -L <learning file directory> +- -g <log file name> +-Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000 +- xboard -fcp \"phalanx -l+ -r800\" +-"); ++printf("\n" ++"Usage: phalanx [options] [<moves> <minutes> [<increment in seconds>]]\n" ++ "phalanx [options] [<seconds per move>]\n" ++ "phalanx bench\n" ++ "phalanx bcreate [options]\n" ++"Options: -t <transposition table size in kilobytes>\n" ++ "-f <fixed search time in seconds>\n" ++ "-x <+/-> xboard mode on/off default: on\n" ++ "-p <+/-> permanent brain on/off default: off\n" ++ "-s <+/-> show thinking on/off default: off\n" ++ "-c <+/-> cpu time default: off\n" ++ "-o <+/-> polling input default: on\n" ++ "-b <+/-> opening book default: on\n" ++ "-r <resign value in centipawns> default: 0 (no resigning)\n" ++ "-e <easy level 0...100> default: 0 (best play)\n" ++ "-l <+/-> learning on/off default: on\n" ++ "-v print version and exit\n" ++ "-P <primary book directory>\n" ++ "-S <secondary book directory>\n" ++ "-L <learning file directory>\n" ++ "-g <log file name>\n" ++"Examples: phalanx -c+ -s+ -o - -x- -f 60 -t4000\n" ++ "xboard -fcp \"phalanx -l+ -r800\n" ++); + exit(0); + } + |