ports/110354: [irc/party] remove usage of sgtty.h
Ed Schouten
ed at fxq.nl
Thu Mar 15 20:50:04 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list