ports/113329: news/nntp: don't make it depend on sgtty.h

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


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



More information about the freebsd-ports-bugs mailing list