diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2008-05-31 23:01:15 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2008-05-31 23:01:15 +0000 |
commit | a54fe1ca9c33931d7c4381a84ee11454f9831c08 (patch) | |
tree | 16cc7f849128603b27ba13f7bdb8ae11e1eadd30 /games/bsdgames/files/patch-trek_main.c | |
parent | - Update to 1.11.3 (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_EOL'.5-eol
Diffstat (limited to 'games/bsdgames/files/patch-trek_main.c')
-rw-r--r-- | games/bsdgames/files/patch-trek_main.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/games/bsdgames/files/patch-trek_main.c b/games/bsdgames/files/patch-trek_main.c deleted file mode 100644 index c6880a8a5893..000000000000 --- a/games/bsdgames/files/patch-trek_main.c +++ /dev/null @@ -1,33 +0,0 @@ -Index: trek/main.c -@@ -47,10 +47,12 @@ - - # include "trek.h" - # include <stdio.h> --# include <sgtty.h> -+# include <termios.h> - # include <setjmp.h> - # include <stdlib.h> - -+# define gtty(_a,_b) tcgetattr(_a,_b) -+ - # define PRIO 00 /* default priority */ - - int Mother = 51 + (51 << 8); -@@ -163,7 +165,7 @@ - int prio; - int ac; - char **av; -- struct sgttyb argp; -+ struct termios argp; - - /* revoke */ - setgid(getgid()); -@@ -176,7 +178,7 @@ - prio = PRIO; - if (gtty(1, &argp) == 0) - { -- if ((argp.sg_ispeed ) < B1200) -+ if ((cfgetispeed(&argp)) < B1200) - Etc.fast++; - } - while (ac > 1 && av[0][0] == '-') |