Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 22:01:58 +0100 (CET)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110356: [irc/blackened] Remove usage of sgtty.h
Message-ID:  <20070315210158.D56AA1CD3F@palm.hoeg.nl>
Resent-Message-ID: <200703152110.l2FLA5J0008363@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110356
>Category:       ports
>Synopsis:       [irc/blackened] 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 21: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: Sun Feb 11 22:32:09 CET 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
The blackened port includes <sgtty.h> or <termios.h> in the file
ircflush.c. This file doesn't need to deal with any terminal I/O. The
application doesn't depend on COMPAT_43TTY at all.
>How-To-Repeat:
>Fix:
Add the following patch to the `files' directory:

--- source/ircflush.c	Sun Dec  9 04:35:25 2001
+++ source/ircflush.c	Thu Mar 15 21:57:14 2007
@@ -12,15 +12,6 @@
 #include "irc.h"
 #include <sys/wait.h>
 
-#ifndef __linux__
-# ifdef __svr4__
-#  include <sys/termios.h>
-# else
-#  include <sgtty.h>	/* SVR4 => sgtty = yuk */
-# endif /* SOLARIS */
-#endif /* __linux__ */
-
-
 #define BUFFER_SIZE 1024
 
 /* descriptors of the tty and pty */
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070315210158.D56AA1CD3F>