Date: Thu, 15 Mar 2007 21:46:11 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110354: [irc/party] remove usage of sgtty.h Message-ID: <20070315204611.AC8BF1CD39@palm.hoeg.nl> Resent-Message-ID: <200703152050.l2FKo4ss006117@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110354 >Category: ports >Synopsis: [irc/party] remove usage of 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 20:50:03 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: There are some plans to remove COMPAT_43TTY from the GENERIC kernels in the future (we hope), but some application in Ports still use <sgtty.h>, the old-style terminal ioctl's. One of the ports is Party. Party already supports termios, but it isn't used on FreeBSD. This patch makes Party avoid <sgtty.h>. The application now compiles on a system without <sgtty.h>. >How-To-Repeat: >Fix: --- irc/party/files/patch-party.h Thu Oct 16 09:52:01 2003 +++ irc/party/files/patch-party.h Thu Mar 15 21:41:17 2007 @@ -1,5 +1,14 @@ --- party.h.orig Wed Oct 15 18:31:34 2003 +++ party.h Wed Oct 15 18:31:58 2003 +@@ -225,7 +225,7 @@ + + #ifdef BSD + #define L_FLOCK /* Use flock() to lock files */ +-#if defined(bsdi) || defined(linux) ++#if defined(bsdi) || defined(linux) || defined(__FreeBSD__) + #define F_TERMIOS /* Use tcsetattr() to set modes */ + #else + #define F_STTY /* Use stty() to set modes */ @@ -464,7 +464,7 @@ #ifdef BSD int susp(); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070315204611.AC8BF1CD39>