aboutsummaryrefslogtreecommitdiff
path: root/math/gambit/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-09 05:23:06 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2003-02-09 05:23:06 +0000
commitdf95a34e2a1ee02ee1dd571dcb5618ea1b367df4 (patch)
tree03458ff72cc43554f1f1b4f019b89796b2f0884e /math/gambit/files
parent120650ca4ede2eaaabe954869319842cf9165c3c (diff)
downloadports-df95a34e2a1ee02ee1dd571dcb5618ea1b367df4.tar.gz
ports-df95a34e2a1ee02ee1dd571dcb5618ea1b367df4.zip
Notes
Diffstat (limited to 'math/gambit/files')
-rw-r--r--math/gambit/files/patch-gcmdline.cc18
-rw-r--r--math/gambit/files/patch-gnulib.cc11
-rw-r--r--math/gambit/files/patch-gnulib.h24
3 files changed, 53 insertions, 0 deletions
diff --git a/math/gambit/files/patch-gcmdline.cc b/math/gambit/files/patch-gcmdline.cc
new file mode 100644
index 000000000000..fa99b6de3aee
--- /dev/null
+++ b/math/gambit/files/patch-gcmdline.cc
@@ -0,0 +1,18 @@
+--- sources/gcl/gcmdline.cc.orig Sun Feb 9 02:23:11 2003
++++ sources/gcl/gcmdline.cc Sun Feb 9 02:26:28 2003
+@@ -81,7 +81,6 @@
+ rawTerm.c_iflag &= ~ICRNL;
+ rawTerm.c_iflag &= ~IXON;
+ rawTerm.c_iflag &= ~IXOFF;
+- rawTerm.c_iflag &= ~IUCLC;
+ rawTerm.c_iflag &= ~IXANY;
+ rawTerm.c_iflag &= ~IMAXBEL;
+
+@@ -90,7 +89,6 @@
+ // rawTerm.c_lflag &= ~ISIG;
+ rawTerm.c_lflag |= ISIG;
+ rawTerm.c_lflag &= ~ICANON;
+- rawTerm.c_lflag &= ~XCASE;
+ rawTerm.c_lflag &= ~ECHO;
+
+ rawTerm.c_cc[VTIME] = 0;
diff --git a/math/gambit/files/patch-gnulib.cc b/math/gambit/files/patch-gnulib.cc
new file mode 100644
index 000000000000..23310f76f060
--- /dev/null
+++ b/math/gambit/files/patch-gnulib.cc
@@ -0,0 +1,11 @@
+--- sources/math/gnulib.cc.orig Sun Feb 9 01:57:37 2003
++++ sources/math/gnulib.cc Sun Feb 9 01:57:55 2003
+@@ -112,7 +112,7 @@
+ v &= chunklimit == chunk->limit;
+ _obstack_chunk* p = chunk;
+ // allow lots of chances to find bottom!
+- long x = MAXLONG;
++ long x = LONG_MAX;
+ while (p != 0 && x != 0) { --x; p = p->prev; }
+ v &= x > 0;
+ return v;
diff --git a/math/gambit/files/patch-gnulib.h b/math/gambit/files/patch-gnulib.h
new file mode 100644
index 000000000000..80ac59a172d7
--- /dev/null
+++ b/math/gambit/files/patch-gnulib.h
@@ -0,0 +1,24 @@
+--- sources/math/gnulib.h.orig Sun Feb 9 01:54:27 2003
++++ sources/math/gnulib.h Sun Feb 9 01:56:12 2003
+@@ -32,9 +32,6 @@
+ #ifndef GNULIB_H
+ #define GNULIB_H
+
+-#ifdef __GNUG__
+-#include <_G_config.h>
+-#endif // __GNUG__
+ #include <stddef.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -46,11 +43,6 @@
+ #include <errno.h>
+ #include <fcntl.h>
+
+-#ifdef __GNUG__
+-extern "C" {
+-int strcasecmp _G_ARGS((const char*, const char*));
+-}
+-#endif // __GNUG__
+
+
+ #include <math.h>