aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-atc_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/bsdgames/files/patch-atc_input.c')
-rw-r--r--games/bsdgames/files/patch-atc_input.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/games/bsdgames/files/patch-atc_input.c b/games/bsdgames/files/patch-atc_input.c
deleted file mode 100644
index 7cafb6d74459..000000000000
--- a/games/bsdgames/files/patch-atc_input.c
+++ /dev/null
@@ -1,23 +0,0 @@
-Index: atc/input.c
-@@ -323,6 +323,10 @@
- int aval;
- aval = alarm(0);
- #endif
-+#ifdef POSIX
-+ int aval;
-+ aval = alarm(0);
-+#endif
- if (fork() == 0) /* child */
- {
- char *shell, *base;
-@@ -358,6 +362,10 @@
- #endif
- #ifdef SYSV
- ioctl(fileno(stdin), TCSETAW, &tty_new);
-+ alarm(aval);
-+#endif
-+#ifdef POSIX
-+ tcsetattr(fileno(stdin), TCSANOW, &tty_new);
- alarm(aval);
- #endif
- }