From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 4 13:20:03 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B7D416A41F for ; Mon, 4 Jun 2007 13:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id C661813C448 for ; Mon, 4 Jun 2007 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l54DK2kZ057322 for ; Mon, 4 Jun 2007 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l54DK2da057321; Mon, 4 Jun 2007 13:20:02 GMT (envelope-from gnats) Resent-Date: Mon, 4 Jun 2007 13:20:02 GMT Resent-Message-Id: <200706041320.l54DK2da057321@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ed Schouten Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FD6116A469 for ; Mon, 4 Jun 2007 13:11:51 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE4D13C45E for ; Mon, 4 Jun 2007 13:11:51 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id AA2D21CCE8; Mon, 4 Jun 2007 15:11:50 +0200 (CEST) Message-Id: <20070604131150.AA2D21CCE8@palm.hoeg.nl> Date: Mon, 4 Jun 2007 15:11:50 +0200 (CEST) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/113330: japanese/typist: don't make use of sgtty X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 13:20:03 -0000 >Number: 113330 >Category: ports >Synopsis: japanese/typist: don't make use of sgtty >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 04 13:20:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 20 13:44:49 CEST 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: The japanese/typist port still makes use of the sgtty interface, though it can easily be ported to termios, thanks to the termio bits that are already present in its source code. Make it use termios, so it works without COMPAT_43TTY. >How-To-Repeat: >Fix: Apply the following patch: --- japanese/typist/files/patch-aa Sun Oct 19 12:10:53 2003 +++ japanese/typist/files/patch-aa Mon Jun 4 10:38:19 2007 @@ -22,7 +22,7 @@ MAB= -CFLAGS=$(DEBUG) $(MAB) -DTERMIO -+CFLAGS+=$(DEBUG) $(MAB) -DLESSONDIR=\"$(LESSONDIR)\" -DKEYTYPE=\"j\" ++CFLAGS+=$(DEBUG) $(MAB) -DTERMIO -DLESSONDIR=\"$(LESSONDIR)\" -DKEYTYPE=\"j\" # -DKEYTYPE=\"e\" # -DLESSONDIR=\"$(LESSONDIR)\" # -DVANISHCHAR --- japanese/typist/files/patch-src-screen.c Thu Jan 1 01:00:00 1970 +++ japanese/typist/files/patch-src-screen.c Mon Jun 4 10:38:19 2007 @@ -0,0 +1,24 @@ +--- screen.c Wed May 21 04:38:05 1997 ++++ screen.c Mon Jun 4 10:36:47 2007 +@@ -127,7 +127,7 @@ + #define MIN_HEIGHT 24 + + #ifdef TERMIO +-# include ++# include + #else + # include + #endif +@@ -177,9 +177,9 @@ + int sw; + { + static int firsttime = 1; +- struct termio *s; +- static struct termio save_term; +- static struct termio raw_term; ++ struct termios *s; ++ static struct termios save_term; ++ static struct termios raw_term; + + if (sw) { + s = &raw_term; >Release-Note: >Audit-Trail: >Unformatted: