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-ad30
1 files changed, 0 insertions, 30 deletions
diff --git a/games/gnuchess/patches/patch-ad b/games/gnuchess/patches/patch-ad
deleted file mode 100644
index 927243fe26d..00000000000
--- a/games/gnuchess/patches/patch-ad
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ad,v 1.8 2009/10/31 14:24:14 tnn Exp $
-
---- src/input.c.orig 2003-07-01 19:06:43.000000000 +0200
-+++ src/input.c
-@@ -127,7 +127,7 @@ void *input_func(void *arg __attribute__
- (RealGameCnt+1)/2 + 1 );
- }
- pthread_mutex_lock(&input_mutex);
-- getline(prompt);
-+ get_line(prompt);
- input_status = INPUT_AVAILABLE;
- pthread_cond_signal(&input_cond);
- pthread_mutex_unlock(&input_mutex);
-@@ -173,13 +173,13 @@ void InitInput(void)
- {
- #ifdef HAVE_LIBREADLINE
- if (isatty(STDIN_FILENO)) {
-- getline = getline_readline;
-+ get_line = getline_readline;
- using_history();
- } else {
-- getline = getline_standard;
-+ get_line = getline_standard;
- }
- #else
-- getline = getline_standard;
-+ get_line = getline_standard;
- #endif
- /* Start input thread */
- pthread_create(&input_thread, NULL, input_func, NULL);