aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2004-08-05 06:46:13 +0800
committerolgeni <olgeni@FreeBSD.org>2004-08-05 06:46:13 +0800
commitf1ceb5932e09e24e6405fa82bbaea3f41edece5a (patch)
tree596ccff5f1a2cae5fb602a39fac014c2c5d54c9a
parent226ed3f8a89988efb0210d44cc067d87fa189c01 (diff)
downloadfreebsd-ports-gnome-f1ceb5932e09e24e6405fa82bbaea3f41edece5a.tar.gz
freebsd-ports-gnome-f1ceb5932e09e24e6405fa82bbaea3f41edece5a.tar.zst
freebsd-ports-gnome-f1ceb5932e09e24e6405fa82bbaea3f41edece5a.zip
Fix build with gcc-3.4.
Submitted by: roam
-rw-r--r--lang/mit-scheme/files/patch-uxio.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/mit-scheme/files/patch-uxio.c b/lang/mit-scheme/files/patch-uxio.c
new file mode 100644
index 000000000000..fa8bb5a485bf
--- /dev/null
+++ b/lang/mit-scheme/files/patch-uxio.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- uxio.c.orig Tue Apr 3 19:51:52 2001
++++ uxio.c Thu Aug 5 00:40:16 2004
+@@ -236,7 +236,7 @@
+ return ((scr < 0) ? 0 : scr);
+ }
+
+-#ifdef _POSIX
++#ifdef __FreeBSD__
+ #include <string.h>
+ #else
+ extern int EXFUN (strlen, (CONST char *));