From ed@hoeg.nl  Thu Mar 15 21:01:20 2007
Return-Path: <ed@hoeg.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DF28416A402
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Mar 2007 21:01:20 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212])
	by mx1.freebsd.org (Postfix) with ESMTP id ADF1813C455
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Mar 2007 21:01:20 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: by palm.hoeg.nl (Postfix, from userid 1000)
	id D56AA1CD3F; Thu, 15 Mar 2007 22:01:58 +0100 (CET)
Message-Id: <20070315210158.D56AA1CD3F@palm.hoeg.nl>
Date: Thu, 15 Mar 2007 22:01:58 +0100 (CET)
From: Ed Schouten <ed@fxq.nl>
Reply-To: Ed Schouten <ed@fxq.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [irc/blackened] Remove usage of sgtty.h
X-Send-Pr-Version: 3.113
X-GNATS-Notify: corwin@aeternal.net

>Number:         110356
>Category:       ports
>Synopsis:       [irc/blackened] Remove usage of sgtty.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 21:10:05 GMT 2007
>Closed-Date:    Mon Apr 09 21:05:45 GMT 2007
>Last-Modified:  Mon Apr  9 21:10:02 GMT 2007
>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@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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Mar 15 21:10:16 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110356 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Fri Mar 16 08:56:04 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110356 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Apr 9 21:05:43 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110356 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/110356: commit references a PR
Date: Mon,  9 Apr 2007 21:05:41 +0000 (UTC)

 miwi        2007-04-09 21:05:35 UTC
 
   FreeBSD ports repository
 
   Added files:
     irc/blackened/files  patch-ircflush.c 
   Log:
   Remove usage of sgtty.h
   
   PR:             110356
   Submitted by:   Ed Schouten <ed@fxq.nl>
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.1       +18 -0     ports/irc/blackened/files/patch-ircflush.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
