diff options
-rw-r--r-- | games/gnuchess/files/patch-sum | 3 | ||||
-rw-r--r-- | games/gnuchess/patches/patch-ac | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/games/gnuchess/files/patch-sum b/games/gnuchess/files/patch-sum index 46f06a138ea..752fc141c6f 100644 --- a/games/gnuchess/files/patch-sum +++ b/games/gnuchess/files/patch-sum @@ -1,4 +1,5 @@ -$NetBSD: patch-sum,v 1.3 2000/03/26 08:29:25 jlam Exp $ +$NetBSD: patch-sum,v 1.4 2000/10/01 04:24:27 jlam Exp $ MD5 (patch-aa) = 9aede68ccd4a386b653381a8245a21d5 MD5 (patch-ab) = 4376f2b68d7733c469ac67e657e1343f +MD5 (patch-ac) = 6eabe3d99fdec3d3259b18de9c944f18 diff --git a/games/gnuchess/patches/patch-ac b/games/gnuchess/patches/patch-ac new file mode 100644 index 00000000000..46d28f30351 --- /dev/null +++ b/games/gnuchess/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.4 2000/10/01 04:24:27 jlam Exp $ + +--- book.c.orig Sat Oct 23 06:07:21 1999 ++++ book.c +@@ -85,7 +85,7 @@ + mcnt = -1; + side = board.side; + xside = 1^side; +- rfp = fopen(BOOKBIN,"r+b"); ++ rfp = fopen(BOOKBIN,"rb"); /* don't need to open read/write */ + if (rfp == NULL) { + if (!(flags & XBOARD)) + fprintf(ofp," no book (%s).\n",BOOKBIN); |