diff options
author | tron <tron> | 1999-11-01 22:21:24 +0000 |
---|---|---|
committer | tron <tron> | 1999-11-01 22:21:24 +0000 |
commit | 855a5c4c9e4ce280f551b53d8beb08f948b9fbd5 (patch) | |
tree | 635dd8eb9e6c5f2ea98b3a6ed7fda70889ce38a1 /x11/gnome-libs/patches | |
parent | 9dd9564fcf06ff8794d9fdcc3b372e8fc4234f0b (diff) | |
download | pkgsrc-855a5c4c9e4ce280f551b53d8beb08f948b9fbd5.tar.gz |
Initialize tty properly in "gnome-pty-helper" so that e.g. "gnome-terminal"
will work.
Diffstat (limited to 'x11/gnome-libs/patches')
-rw-r--r-- | x11/gnome-libs/patches/patch-am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/x11/gnome-libs/patches/patch-am b/x11/gnome-libs/patches/patch-am new file mode 100644 index 00000000000..538998ab9dd --- /dev/null +++ b/x11/gnome-libs/patches/patch-am @@ -0,0 +1,27 @@ +$NetBSD: patch-am,v 1.1 1999/11/01 22:21:25 tron Exp $ + +--- zvt/gnome-pty-helper.c.orig Mon Sep 27 20:35:40 1999 ++++ zvt/gnome-pty-helper.c Mon Nov 1 22:50:19 1999 +@@ -398,13 +398,6 @@ + #endif + ; + term.c_cflag = 0 +-#ifdef EXTB +- | EXTB +-#else +-# ifdef B9600 +- | B9600 +-# endif +-#endif /* EXTB */ + #ifdef CREAD + | CREAD + #endif +@@ -443,6 +436,8 @@ + /* should really be a check for c_line, but maybe this is good enough */ + term.c_line = N_TTY; + #endif ++ cfsetispeed(&term, B9600); ++ cfsetospeed(&term, B9600); + + /* These two may overlap so set them first */ + term.c_cc[VTIME] = 0; |