summaryrefslogtreecommitdiff
path: root/x11/gnome-libs/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-11-01 22:21:24 +0000
committertron <tron@pkgsrc.org>1999-11-01 22:21:24 +0000
commit251ce69c8b9630e3b4732d34d99b21e51348eeb1 (patch)
tree635dd8eb9e6c5f2ea98b3a6ed7fda70889ce38a1 /x11/gnome-libs/patches
parent311c8109c9ecf22748a353ea4f4d43a2a877ddab (diff)
downloadpkgsrc-251ce69c8b9630e3b4732d34d99b21e51348eeb1.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-am27
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;