pkgsrc/games/gnuchess/patches/patch-ad

17 lines
492 B
Text

$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;