aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-snake_snake_snake.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdgames/files/patch-snake_snake_snake.h')
-rw-r--r--games/bsdgames/files/patch-snake_snake_snake.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/games/bsdgames/files/patch-snake_snake_snake.h b/games/bsdgames/files/patch-snake_snake_snake.h
deleted file mode 100644
index a89166ac21f3..000000000000
--- a/games/bsdgames/files/patch-snake_snake_snake.h
+++ /dev/null
@@ -1,25 +0,0 @@
-Index: snake/snake/snake.h
-@@ -38,10 +38,13 @@
- # include <stdio.h>
- # include <assert.h>
- # include <sys/types.h>
--# include <sgtty.h>
-+# include <termios.h>
- # include <signal.h>
- # include <math.h>
-
-+#define gtty(_a,_b) tcgetattr(_a,_b)
-+#define stty(_a,_b) tcsetattr(_a,TCSANOW,_b)
-+
- #define ESC '\033'
-
- struct tbuffer {
-@@ -72,7 +75,7 @@
- int col, line;
- };
- struct point cursor;
--struct sgttyb orig, new;
-+struct termios orig, new;
- #ifdef TIOCLGET
- struct ltchars olttyc, nlttyc;
- #endif