diff options
Diffstat (limited to 'games/bsdgames/files/patch-snake_snake_move.c')
-rw-r--r-- | games/bsdgames/files/patch-snake_snake_move.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/games/bsdgames/files/patch-snake_snake_move.c b/games/bsdgames/files/patch-snake_snake_move.c deleted file mode 100644 index 03f96cdc9885..000000000000 --- a/games/bsdgames/files/patch-snake_snake_move.c +++ /dev/null @@ -1,24 +0,0 @@ -Index: snake/snake/move.c -@@ -677,10 +674,10 @@ - - gtty(0, &orig); - new=orig; -- new.sg_flags &= ~(ECHO|CRMOD|ALLDELAY|XTABS); -- new.sg_flags |= CBREAK; -+ new.c_lflag &= ~(ECHO|ICRNL|OXTABS); -+ new.c_lflag &= ~ICANON; - signal(SIGINT,stop); -- ospeed = orig.sg_ospeed; -+ ospeed = cfgetospeed(&orig); - #ifdef TIOCGLTC - ioctl(0, TIOCGLTC, &olttyc); - nlttyc = olttyc; -@@ -689,7 +686,7 @@ - #endif - raw(); - -- if ((orig.sg_flags & XTABS) == XTABS) TA=0; -+ if ((orig.c_lflag & OXTABS) == OXTABS) TA=0; - putpad(KS); - putpad(TI); - point(&cursor,0,LINES-1); |