ports/113328: japanese/ircII: don't make it include sgtty.h

Ed Schouten ed at fxq.nl
Mon Jun 4 13:10:20 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list