ports/110356: [irc/blackened] Remove usage of sgtty.h
Ed Schouten
ed at fxq.nl
Thu Mar 15 21:10:06 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list