freebsd-ports/math/asir2000/files/patch-ag
Martin Wilke a5bd6498ec 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.

PR:		119106
Submitted by:	Ed Schouten <ed@fxq.nl>
Approved by:	maintainer
2008-01-03 21:03:32 +00:00

42 lines
2.2 KiB
Text

--- parse/glob.c.orig Thu Jan 4 00:48:08 2007
+++ parse/glob.c Wed Jul 18 12:25:46 2007
@@ -51,10 +51,11 @@
#include "al.h"
#include "parse.h"
#include "ox.h"
+#include "version.h"
#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()
{
#if PARI
-#if 0
+#if 1
return PARIVERSION", Copyright (C) 2000-2005 The PARI Group.\n";
#else
return "PARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,\n H. Cohen and M. Olivier.\n";
@@ -785,7 +786,7 @@
void copyright()
{
- char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2007, Risa/Asir committers, http://www.openxm.org/.\nGC 6.5 Copyright 1988-2005, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s";
+ char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2007, Risa/Asir committers, http://www.openxm.org/.\nGC 6.8 Copyright 1988-2005, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s";
printf(format, get_intervalversion(), get_asir_version(), get_asir_distribution(), get_pariversion());
}
@@ -794,7 +795,7 @@
static char *notice;
char *s1, *s2, *s3;
int d, len;
- char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2007, Risa/Asir committers, http://www.openxm.org/.\nGC 6.5 copyright 1988-2005, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s";
+ char *format = "This is Risa/Asir%s, Version %d (%s Distribution).\nCopyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\nCopyright 2000-2007, Risa/Asir committers, http://www.openxm.org/.\nGC 6.8 copyright 1988-2005, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n%s";
if (!notice) {
s1 = get_intervalversion();
s2 = get_asir_distribution();