From 858884a7f02d5854bef7403058c54c37abb3e308 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 21 Nov 2009 22:00:34 +0000 Subject: - Update to 2.4 PR: 140478 Submitted by: Ulrich Spoerlein (maintainer) --- games/bsdgames/files/patch-hack_hack.ioctl.c | 29 ---------------------------- 1 file changed, 29 deletions(-) delete mode 100644 games/bsdgames/files/patch-hack_hack.ioctl.c (limited to 'games/bsdgames/files/patch-hack_hack.ioctl.c') diff --git a/games/bsdgames/files/patch-hack_hack.ioctl.c b/games/bsdgames/files/patch-hack_hack.ioctl.c deleted file mode 100644 index cd899364bed0..000000000000 --- a/games/bsdgames/files/patch-hack_hack.ioctl.c +++ /dev/null @@ -1,29 +0,0 @@ -Index: hack/hack.ioctl.c -@@ -13,6 +13,9 @@ - #ifdef BSD - #include - struct ltchars ltchars, ltchars0; -+#elif POSIX -+#include -+struct termios termio; - #else - #include /* also includes part of */ - struct termio termio; -@@ -22,6 +25,8 @@ - #ifdef BSD - (void) ioctl(fileno(stdin), (int) TIOCGLTC, (char *) <chars); - (void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) <chars0); -+#elif POSIX -+ tcgetattr(fileno(stdin), &termio); - #else - (void) ioctl(fileno(stdin), (int) TCGETA, &termio); - #endif /* BSD */ -@@ -30,6 +35,8 @@ - setioctls() { - #ifdef BSD - (void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) <chars); -+#elif POSIX -+ tcsetattr(fileno(stdin), TCSANOW, &termio); - #else - (void) ioctl(fileno(stdin), (int) TCSETA, &termio); - #endif /* BSD */ -- cgit v1.2.3