Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 Jun 2007 15:04:14 +0200 (CEST)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113327: korean/helvis: make it use termios instead of sgtty
Message-ID:  <20070604130414.5E2471CCD9@palm.hoeg.nl>
Resent-Message-ID: <200706041310.l54DA7Mb056060@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113327
>Category:       ports
>Synopsis:       korean/helvis: make it use termios instead 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:10:05 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 korean/helvis port still makes use of the sgtty line discipline
interface. This means that it only works when running a kernel with the
COMPAT_43TTY option. We'd better use termios.
>How-To-Repeat:
>Fix:
Apply the following patch:

--- korean/helvis/files/Makefile.inc	Mon Jan 10 21:45:18 2005
+++ korean/helvis/files/Makefile.inc	Mon Jun  4 10:08:41 2007
@@ -7,7 +7,7 @@
 PREFIX?=/usr/local
 BIN=    ${PREFIX}/bin 
 CC=     cc
-CFLAGS= -Dbsd -O
+CFLAGS= -Dbsd -O -DTERMIOS -DUNIXV=1
 SMALL=
 LARGE=
 OF=     -o ""
--- korean/helvis/files/patch-curses.h	Thu Jan  1 01:00:00 1970
+++ korean/helvis/files/patch-curses.h	Mon Jun  4 10:08:41 2007
@@ -0,0 +1,12 @@
+--- curses.h	Wed Apr  5 11:21:19 1995
++++ curses.h	Mon Jun  4 10:07:51 2007
+@@ -7,6 +7,9 @@
+  *	kirkenda@cs.pdx.edu
+  */
+ 
++#if TERMIOS
++#include <termios.h>
++#endif
+ 
+ /* This is the header file for a small, fast, fake curses package */
+ 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070604130414.5E2471CCD9>