From 251ce69c8b9630e3b4732d34d99b21e51348eeb1 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 1 Nov 1999 22:21:24 +0000 Subject: [PATCH] Initialize tty properly in "gnome-pty-helper" so that e.g. "gnome-terminal" will work. --- x11/gnome-libs/files/patch-sum | 3 ++- x11/gnome-libs/patches/patch-am | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 x11/gnome-libs/patches/patch-am diff --git a/x11/gnome-libs/files/patch-sum b/x11/gnome-libs/files/patch-sum index 71339099b4af..21344dd687ed 100644 --- a/x11/gnome-libs/files/patch-sum +++ b/x11/gnome-libs/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.5 1999/09/03 07:19:25 rh Exp $ +$NetBSD: patch-sum,v 1.6 1999/11/01 22:21:24 tron Exp $ MD5 (patch-aa) = 0e887f8a1c32d1aa0174f817ea9d1cfc MD5 (patch-ab) = 911491cf3e32ffa67008d8d617f24a08 @@ -12,3 +12,4 @@ MD5 (patch-ai) = baca2d5270e60252cf5e9406bd52064d MD5 (patch-aj) = cb5dff8072ddfb84268ddf77453622e4 MD5 (patch-ak) = aef962961191617c236950a2e60a289b MD5 (patch-al) = c3b644c6ec492fa08a0f57a203688e8e +MD5 (patch-am) = 9080526528d73e464b2edf0ebcea5e5b diff --git a/x11/gnome-libs/patches/patch-am b/x11/gnome-libs/patches/patch-am new file mode 100644 index 000000000000..538998ab9ddd --- /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;