aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-01 17:19:38 +0800
committerMartin Wilke <miwi@FreeBSD.org>2008-02-01 17:19:38 +0800
commit878a82e919c027e1c989342bc02d6d2f77696c48 (patch)
tree1ab746ba5a4309c9ba380d237afa4bdf29e6366b /cad
parent8d696fd16d8072aa7e0e2155cc9d1da29319b739 (diff)
downloadfreebsd-ports-gnome-878a82e919c027e1c989342bc02d6d2f77696c48.tar.gz
freebsd-ports-gnome-878a82e919c027e1c989342bc02d6d2f77696c48.tar.zst
freebsd-ports-gnome-878a82e919c027e1c989342bc02d6d2f77696c48.zip
- Use termios, not sgtty
PR: 119096 Submitted by: Ed Schouten <ed@fxq.nl> Approved by: maintainer via irc
Diffstat (limited to 'cad')
-rw-r--r--cad/brlcad/files/patch-src-vas4_vas_io.c22
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;
+