ports/113327: korean/helvis: make it use termios instead of sgtty
Ed Schouten
ed at fxq.nl
Mon Jun 4 13:10:07 UTC 2007
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list