Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2007 16:32:12 +0100 (CET)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/119106: [Patch] math/asir2000: don't include sgtty.h
Message-ID:  <20071228153212.979B91CD16@palm.hoeg.nl>
Resent-Message-ID: <200712281540.lBSFe2T5016688@freefall.freebsd.org>

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

>Number:         119106
>Category:       ports
>Synopsis:       [Patch] math/asir2000: don't include sgtty.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 28 15:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ed Schouten
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD palm.hoeg.nl 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Wed Dec 19 16:07:46 CET 2007 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
The math/asir2000 port includes the <sgtty.h> header file on FreeBSD,
even though it isn't needed (one might wonder which platform *does* need
it). We'd better not include it, because sgtty.h has been deprecated for
a very very long time.
>How-To-Repeat:
>Fix:
--- math/asir2000/files/patch-ag	2007-07-19 18:24:19.000000000 +0200
+++ math/asir2000/files/patch-ag	2007-12-28 16:31:52.000000000 +0100
@@ -1,6 +1,6 @@
 --- parse/glob.c.orig	Thu Jan  4 00:48:08 2007
 +++ parse/glob.c	Wed Jul 18 12:25:46 2007
-@@ -51,6 +51,7 @@
+@@ -51,10 +51,11 @@
  #include "al.h"
  #include "parse.h"
  #include "ox.h"
@@ -8,6 +8,11 @@
  #if defined(PARI)
  #include "genpari.h"
  #endif
+-#if !defined(VISUAL) && !defined(_PA_RISC1_1) && !defined(linux) && !defined(SYSV) && !defined(__CYGWIN__) && !defined(__INTERIX)
++#if !defined(VISUAL) && !defined(_PA_RISC1_1) && !defined(linux) && !defined(SYSV) && !defined(__CYGWIN__) && !defined(__INTERIX) && !defined(__FreeBSD__)
+ #include <sgtty.h>
+ #endif
+ 
 @@ -765,7 +766,7 @@
  char *get_pariversion() 
  {
>Release-Note:
>Audit-Trail:
>Unformatted:



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