diff options
author | mef <mef@pkgsrc.org> | 2016-05-03 02:15:47 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2016-05-03 02:15:47 +0000 |
commit | 8fe8ecf467fce0999c8088dc8857623d66eacd22 (patch) | |
tree | 9174c4d5f561d0dab053558287cbacc601662a6e /games/gnuchess | |
parent | 38ef6becefd0082f5dba154e8a161ec2e32e9a33 (diff) | |
download | pkgsrc-8fe8ecf467fce0999c8088dc8857623d66eacd22.tar.gz |
(games/gnuchess) reove patches, sorry for separate commit.
Diffstat (limited to 'games/gnuchess')
-rw-r--r-- | games/gnuchess/patches/patch-aa | 12 | ||||
-rw-r--r-- | games/gnuchess/patches/patch-ab | 21 | ||||
-rw-r--r-- | games/gnuchess/patches/patch-ac | 12 | ||||
-rw-r--r-- | games/gnuchess/patches/patch-ad | 30 |
4 files changed, 0 insertions, 75 deletions
diff --git a/games/gnuchess/patches/patch-aa b/games/gnuchess/patches/patch-aa deleted file mode 100644 index 409ecbc6615..00000000000 --- a/games/gnuchess/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.7 2004/03/09 23:30:40 kristerw Exp $ - ---- src/iterate.c.orig Tue Mar 9 23:14:23 2004 -+++ src/iterate.c Tue Mar 9 23:14:54 2004 -@@ -192,6 +192,7 @@ - } - while (!(flags & TIMEOUT)) - { -+ sched_yield(); - if (score > MATE-255) - { - RootAlpha = score-1; diff --git a/games/gnuchess/patches/patch-ab b/games/gnuchess/patches/patch-ab deleted file mode 100644 index 26ada2c6933..00000000000 --- a/games/gnuchess/patches/patch-ab +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-ab,v 1.8 2009/10/31 14:24:14 tnn Exp $ - ---- src/common.h.orig 2003-06-30 13:28:38.000000000 +0200 -+++ src/common.h -@@ -716,7 +716,6 @@ void DBTest (void); - - /* Input thread and thread function */ - #include <pthread.h> --extern pthread_t input_thread; - void *input_func(void *); - - /* -@@ -745,7 +744,7 @@ void wait_for_input(void); - * Input routine, initialized to one of the specific - * input routines. The given argument is the prompt. - */ --void (*getline) (char *); -+void (*get_line) (char *); - - #define MAXSTR 128 - extern char inputstr[MAXSTR]; diff --git a/games/gnuchess/patches/patch-ac b/games/gnuchess/patches/patch-ac deleted file mode 100644 index d16d1fd4057..00000000000 --- a/games/gnuchess/patches/patch-ac +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-ac,v 1.7 2008/04/03 09:07:49 joerg Exp $ - ---- src/lexpgn.l.orig 2008-04-03 11:01:56.000000000 +0200 -+++ src/lexpgn.l -@@ -37,6 +37,7 @@ - #include <stdlib.h> - #include <ctype.h> - #include <string.h> -+#include <unistd.h> - - #include "common.h" - #include "lexpgn.h" 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); |