diff options
author | miwi <miwi@FreeBSD.org> | 2008-02-01 17:19:38 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-02-01 17:19:38 +0800 |
commit | 401859a542f673cfc52f9ba7a8a604caadf1c064 (patch) | |
tree | 14940180e37f1f1ceb31e8694a603ba1e74f9745 /cad/brlcad | |
parent | 6e87eaa3b8521b3c8bad5b749022e12c50f9c3ca (diff) | |
download | freebsd-ports-gnome-401859a542f673cfc52f9ba7a8a604caadf1c064.tar.gz freebsd-ports-gnome-401859a542f673cfc52f9ba7a8a604caadf1c064.tar.zst freebsd-ports-gnome-401859a542f673cfc52f9ba7a8a604caadf1c064.zip |
- Use termios, not sgtty
PR: 119096
Submitted by: Ed Schouten <ed@fxq.nl>
Approved by: maintainer via irc
Diffstat (limited to 'cad/brlcad')
-rw-r--r-- | cad/brlcad/files/patch-src-vas4_vas_io.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cad/brlcad/files/patch-src-vas4_vas_io.c b/cad/brlcad/files/patch-src-vas4_vas_io.c new file mode 100644 index 000000000000..7e2b2a81a4de --- /dev/null +++ b/cad/brlcad/files/patch-src-vas4_vas_io.c @@ -0,0 +1,22 @@ +Add the following patch to the files/ directory: + +--- src/vas4/vas_io.c 2007-07-26 03:14:00.000000000 +0200 ++++ src/vas4/vas_io.c 2007-12-28 11:30:45.000000000 +0100 +@@ -41,6 +41,8 @@ + #include <stdio.h> + #include <fcntl.h> + ++#define HAVE_XOPEN ++ + #if defined(HAVE_XOPEN) + # include <termios.h> + +@@ -149,7 +151,7 @@ + vtty.c_iflag |= IGNBRK|IGNPAR; + + vtty.c_oflag &= ~(OPOST|ONLCR|OCRNL); /* Turn off all post-processing */ +- vtty.c_oflag |= TAB3; /* output tab expansion ON */ ++ vtty.c_oflag |= OXTABS; /* output tab expansion ON */ + vtty.c_cc[VMIN] = 1; + vtty.c_cc[VTIME] = 0; + |