summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch')
-rw-r--r--games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch b/games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch
deleted file mode 100644
index c34ebe84cedf..000000000000
--- a/games-fps/urbanterror/files/urbanterror-4.3.3_p20180218-fix-loop.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Author: Nils Freydank <holgersson@posteo.de>
-Date: Wed Mar 14 21:00:00 2017 +0100
-
-Imported patch written by Tom Murphy via github.com:
-
-https://github.com/ioquake/ioq3/pull/356
-
-diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c
-index 2c2b595cf..58f178ade 100644
---- a/code/sys/con_tty.c
-+++ b/code/sys/con_tty.c
-@@ -73,20 +73,6 @@ static int hist_current = -1, hist_count = 0;
- #define TTY_CONSOLE_PROMPT "]"
- #endif
-
--/*
--==================
--CON_FlushIn
--
--Flush stdin, I suspect some terminals are sending a LOT of shit
--FIXME relevant?
--==================
--*/
--static void CON_FlushIn( void )
--{
-- char key;
-- while (read(STDIN_FILENO, &key, 1)!=-1);
--}
--
- /*
- ==================
- CON_Back
-@@ -441,7 +427,7 @@ char *CON_Input( void )
- TTY_con = *history;
- CON_Show();
- }
-- CON_FlushIn();
-+ tcflush(STDIN_FILENO, TCIFLUSH);
- return NULL;
- break;
- case 'B':
-@@ -455,7 +441,7 @@ char *CON_Input( void )
- Field_Clear(&TTY_con);
- }
- CON_Show();
-- CON_FlushIn();
-+ tcflush(STDIN_FILENO, TCIFLUSH);
- return NULL;
- break;
- case 'C':
-@@ -467,7 +453,7 @@ char *CON_Input( void )
- }
- }
- Com_DPrintf("droping ISCTL sequence: %d, TTY_erase: %d\n", key, TTY_erase);
-- CON_FlushIn();
-+ tcflush(STDIN_FILENO, TCIFLUSH);
- return NULL;
- }
- if (TTY_con.cursor >= sizeof(text) - 1)