aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/phalanx/phalanx/gcc3.patch
blob: 3502a691d0344642fce67d60c798bd97745b532a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- Phalanx-XXII/phalanx.c~gcc3.patch
+++ Phalanx-XXII/phalanx.c
@@ -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);
 }
 
--- Phalanx-XXII/io.c~gcc3.patch
+++ Phalanx-XXII/io.c
@@ -894,7 +894,7 @@
 {	case 0: puts("off"); break;
 	case 1: puts("on"); break;
 	case 2: puts("on (pondering)"); break;
-	default:
+	default:;
 }
 
 printf(" Transposition table ... ");