Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 Jun 2007 15:06:31 +0200 (CEST)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113328: japanese/ircII: don't make it include sgtty.h
Message-ID:  <20070604130631.5954C1CCD9@palm.hoeg.nl>
Resent-Message-ID: <200706041310.l54DAJXq056194@freefall.freebsd.org>

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

>Number:         113328
>Category:       ports
>Synopsis:       japanese/ircII: don't make it include 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:   Mon Jun 04 13:10:18 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: Fri Apr 20 13:44:49 CEST 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
For some reason, ircII includes sgtty.h, which doesn't really matter,
because ircII doesn't use it anyway, but could cause compilation errors
in the far far future. Already remove the dependency on sgtty.h.
>How-To-Repeat:
>Fix:
Adding the following patch to the files/ directory removes the unneeded
inclusion.

--- source/ircflush.c	Fri Jan  6 16:16:45 1995
+++ source/ircflush.c	Mon Jun  4 09:38:12 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?20070604130631.5954C1CCD9>