From f982be45e81588a27383cd1a3eb12789b8498904 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Wed, 19 Nov 2008 10:43:57 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_6_4_0'. --- games/bsdgames/files/patch-atc_main.c | 47 ----------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 games/bsdgames/files/patch-atc_main.c (limited to 'games/bsdgames/files/patch-atc_main.c') diff --git a/games/bsdgames/files/patch-atc_main.c b/games/bsdgames/files/patch-atc_main.c deleted file mode 100644 index 3592011afea8..000000000000 --- a/games/bsdgames/files/patch-atc_main.c +++ /dev/null @@ -1,47 +0,0 @@ -Index: atc/main.c -@@ -173,6 +173,15 @@ - ioctl(fileno(stdin), TCSETAW, &tty_new); - #endif - -+#ifdef POSIX -+ tcgetattr(fileno(stdin), &tty_start); -+ bcopy(&tty_start, &tty_new, sizeof(tty_new)); -+ tty_new.c_lflag &= ~ICANON; -+ tty_new.c_lflag &= ~ECHO; -+ tty_new.c_cc[VMIN] = 1; -+ tty_new.c_cc[VTIME] = 0; -+ tcsetattr(fileno(stdin), TCSANOW, &tty_new); -+#endif - signal(SIGALRM, update); - - #ifdef BSD -@@ -185,6 +194,9 @@ - #ifdef SYSV - alarm(sp->update_secs); - #endif -+#ifdef POSIX -+ alarm(sp->update_secs); -+#endif - - for (;;) { - if (getcommand() != 1) -@@ -198,6 +210,9 @@ - #ifdef SYSV - alarm(0); - #endif -+#ifdef POSIX -+ alarm(0); -+#endif - - update(); - -@@ -209,6 +224,9 @@ - setitimer(ITIMER_REAL, &itv, NULL); - #endif - #ifdef SYSV -+ alarm(sp->update_secs); -+#endif -+#ifdef POSIX - alarm(sp->update_secs); - #endif - } -- cgit v1.2.3