Date: Fri, 16 Mar 2007 09:33:30 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110378: [misc/heyu2] Avoid sgtty.h Message-ID: <20070316083330.B647E1CD42@palm.hoeg.nl> Resent-Message-ID: <200703160840.l2G8e4RH001773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110378 >Category: ports >Synopsis: [misc/heyu2] Avoid 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: Fri Mar 16 08:40:04 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: Just like misc/heyu, this port uses <sgtty.h> while it could perfectly use <termios.h>. The patch is quite similar to misc/heyu. >How-To-Repeat: >Fix: --- misc/heyu2/files/patch-Configure Thu Jan 1 01:00:00 1970 +++ misc/heyu2/files/patch-Configure Fri Mar 16 09:30:41 2007 @@ -0,0 +1,11 @@ +--- Configure Fri Mar 16 09:25:28 2007 ++++ Configure Fri Mar 16 09:25:39 2007 +@@ -104,7 +104,7 @@ + CC ?= gcc + CFLAGS += -g -O \$(DFLAGS) -Wall + LIBS = -lm -lc +- DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" $CM17AFLAG $EXT0FLAG ++ DFLAGS= -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" $CM17AFLAG $EXT0FLAG + EoF + ;; + openbsd) --- misc/heyu2/files/patch-tty.c-tty_aux.c Thu Jan 1 01:00:00 1970 +++ misc/heyu2/files/patch-tty.c-tty_aux.c Fri Mar 16 09:30:41 2007 @@ -0,0 +1,32 @@ +--- 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> +--- tty_aux.c Sun Mar 30 22:57:59 2003 ++++ tty_aux.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?20070316083330.B647E1CD42>