diff options
author | miwi <miwi@FreeBSD.org> | 2007-03-17 05:05:59 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-03-17 05:05:59 +0800 |
commit | c59457f776b3970d342011633fa48aa342db30f2 (patch) | |
tree | 0a8a7d7cd0aec534a128a0e60b8560e6455ff5f4 /misc/heyu | |
parent | 97ccf3b55ae070e273e36c9bac76b0bc799a50c6 (diff) | |
download | freebsd-ports-gnome-c59457f776b3970d342011633fa48aa342db30f2.tar.gz freebsd-ports-gnome-c59457f776b3970d342011633fa48aa342db30f2.tar.zst freebsd-ports-gnome-c59457f776b3970d342011633fa48aa342db30f2.zip |
The heyu port makes use of <sgtty.h>, though it supports <termios.h>
when -DPOSIX is turned on. Using <sgtty.h> is bad, because it breaks
on kernels without COMPAT_43TTY
PR: 110360
Submitted by: Ed Schouten <ed@fxq.nl>
Approved by: maintainer
Diffstat (limited to 'misc/heyu')
-rw-r--r-- | misc/heyu/files/patch-tty.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/heyu/files/patch-tty.c b/misc/heyu/files/patch-tty.c new file mode 100644 index 000000000000..d7017998896e --- /dev/null +++ b/misc/heyu/files/patch-tty.c @@ -0,0 +1,16 @@ +--- tty.c Sun Mar 30 22:57:59 2003 ++++ tty.c Thu Mar 15 22:48:59 2007 +@@ -86,11 +86,11 @@ + #include <sgtty.h> + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include <termio.h> + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include <termio.h> + struct termio oldsb, newsb; + #else + #include <termios.h> |