diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2007-10-28 11:45:13 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2007-10-28 11:45:13 +0000 |
commit | c2a0b48496f4efc63669fdd50cd8c970d141dc9e (patch) | |
tree | 31bf66d0099e7e119b9f1b657b0a1d3859af3dc1 /games/tads | |
parent | d1010be633646cdbb7c38f94f675e1eb096d2aa3 (diff) | |
download | ports-c2a0b48496f4efc63669fdd50cd8c970d141dc9e.tar.gz ports-c2a0b48496f4efc63669fdd50cd8c970d141dc9e.zip |
Notes
Diffstat (limited to 'games/tads')
-rw-r--r-- | games/tads/files/patch-tads2_osunixt.c | 19 | ||||
-rw-r--r-- | games/tads/files/patch-tads2_osunixt.h | 10 |
2 files changed, 29 insertions, 0 deletions
diff --git a/games/tads/files/patch-tads2_osunixt.c b/games/tads/files/patch-tads2_osunixt.c new file mode 100644 index 000000000000..6906c77668d9 --- /dev/null +++ b/games/tads/files/patch-tads2_osunixt.c @@ -0,0 +1,19 @@ +Index: osunixt.c +@@ -960,7 +960,7 @@ + t.c_cc[VMIN] = 1; + t.c_cc[VTIME] = 0; + #if !defined(SGI_IRIX) +- t.c_oflag &= (~XTABS); ++ t.c_oflag &= (~OXTABS); + #else + t.c_oflag &= (~TAB3); + #endif +@@ -984,7 +984,7 @@ + #ifdef USE_SGTTY + ospeed = t.sg_ospeed; + #else +- ospeed = t.c_cflag & CBAUD; ++ ospeed = cfgetospeed(&t); + #endif + if (ospeed == 0) + ospeed = 11; diff --git a/games/tads/files/patch-tads2_osunixt.h b/games/tads/files/patch-tads2_osunixt.h new file mode 100644 index 000000000000..49b3b1bb9118 --- /dev/null +++ b/games/tads/files/patch-tads2_osunixt.h @@ -0,0 +1,10 @@ +Index: osunixt.h +@@ -84,7 +84,7 @@ + * Define the following to use sgtty.h instead of termios or direct + * ioctl hacking. + */ +-#if defined(NEXT) || defined(IBM_RT) || defined(FREEBSD_386) || defined(IBM_AIX) || defined(NETBSD) || defined(OPENBSD) || defined(DARWIN) ++#if defined(NEXT) || defined(IBM_RT) || defined(IBM_AIX) || defined(NETBSD) || defined(OPENBSD) || defined(DARWIN) + #define USE_IOCTL_INSTEAD_OF_TERMIOS + #define USE_SGTTY + #endif |