Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  4 Jun 2007 15:08:47 +0200 (CEST)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/113329: news/nntp: don't make it depend on sgtty.h
Message-ID:  <20070604130847.D87611CCD9@palm.hoeg.nl>
Resent-Message-ID: <200706041310.l54DAKha056212@freefall.freebsd.org>

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

>Number:         113329
>Category:       ports
>Synopsis:       news/nntp: don't make it depend on 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:20 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:
The news/nntp port includes sgtty.h, while it isn't needed. This isn't a
real problem, but may cause problems in the future when (if?) the sgtty
is removed.
>How-To-Repeat:
>Fix:
Add the following patch to the files/ directory:

--- support/acttimes.c	Tue Jan  9 08:28:02 1996
+++ support/acttimes.c	Mon Jun  4 09:40:37 2007
@@ -64,12 +64,6 @@
 
 /* ---------- End of configuration defines ---------- */
 
-#ifdef TERMIO
-#include <termio.h>
-#else
-#include <sgtty.h>
-#endif
-
 #define TIMER_FIRST 1
 #define TIMER_DEFAULT (10 * 60)
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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