Date: Thu, 15 Mar 2007 22:53:18 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110360: [misc/heyu] Don't let it touch sgtty.h Message-ID: <20070315215318.C69941CD3F@palm.hoeg.nl> Resent-Message-ID: <200703152200.l2FM0A7b015149@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110360 >Category: ports >Synopsis: [misc/heyu] Don't let it touch sgtty.h >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: Thu Mar 15 22:00:09 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: Sun Feb 11 22:32:09 CET 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: The heyu port makes use of <sgtty.h>, though it supports <termios.h> when -DPOSIX is turned on. Using <sgtty.h> is bad, because it breaks on kernels without COMPAT_43TTY >How-To-Repeat: >Fix: --- misc/heyu/files/patch-Configure Thu Jan 1 01:00:00 1970 +++ misc/heyu/files/patch-Configure Thu Mar 15 22:49:49 2007 @@ -0,0 +1,11 @@ +--- Configure Mon Mar 31 08:58:14 2003 ++++ Configure Thu Mar 15 22:48:05 2007 +@@ -86,7 +86,7 @@ + CC = gcc + CFLAGS = -g -O \$(DFLAGS) -Wall + LIBS = -lm -lc +- DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD ++ DFLAGS= -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD + EoF + ;; + sco*) --- misc/heyu/files/patch-tty.c Thu Jan 1 01:00:00 1970 +++ misc/heyu/files/patch-tty.c Thu Mar 15 22:49:49 2007 @@ -0,0 +1,16 @@ +--- tty.c Sun Mar 30 22:57:59 2003 ++++ tty.c Thu Mar 15 22:48:59 2007 +@@ -86,11 +86,11 @@ + #include <sgtty.h> + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include <termio.h> + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include <termio.h> + struct termio oldsb, newsb; + #else + #include <termios.h> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070315215318.C69941CD3F>