summaryrefslogtreecommitdiff
path: root/games/gnuchess/patches/patch-ad
blob: b5d1bb79b8ab6f5ebbc215ab54a4e5159d8da199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ad,v 1.5 2000/12/27 00:24:43 dmcmahill Exp $

--- cmd.c.orig	Sat Oct 23 06:07:32 1999
+++ cmd.c	Tue Dec 26 17:16:44 2000
@@ -27,4 +27,5 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <signal.h>
 #include <unistd.h>
@@ -155,5 +156,5 @@
       if (strncmp (inputstr, "compile", 7) == 0) {
 printf("calling genbook.\n");
-        genbook ();
+        genbook (booksrc, bookbin);
       } else if (strcmp (inputstr, "on") == 0) {
 	bookmode = BOOKBEST;