summaryrefslogtreecommitdiff
path: root/games/gnuchess/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnuchess/patches/patch-ad')
-rw-r--r--games/gnuchess/patches/patch-ad13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/gnuchess/patches/patch-ad b/games/gnuchess/patches/patch-ad
new file mode 100644
index 00000000000..59fe7a0a3de
--- /dev/null
+++ b/games/gnuchess/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/02/08 08:48:37 frueauf Exp $
+
+--- ../../gnuchess-4.0.pl79/src/search.c Mon Sep 28 08:41:23 1998
++++ ./src/search.c Thu Dec 10 23:39:26 1998
+@@ -174,7 +174,7 @@
+ while (true)
+ {
+ printf ("debug?");
+- gets (b);
++ fgets (b, 32, stdin); b[31] = '\0';
+ if (b[0] == 'p')
+ traceply = atoi (&b[1]);
+ else if (b[0] == '\0')