ports/119106: [Patch] math/asir2000: don't include sgtty.h
Ed Schouten
ed at fxq.nl
Fri Dec 28 15:40:02 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list