aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ohugs
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2007-01-23 12:07:14 +0800
committervs <vs@FreeBSD.org>2007-01-23 12:07:14 +0800
commit5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93 (patch)
tree728c4ea599d094979a2a11a851a8c5a728ff11ed /lang/ohugs
parent8b8cb93190993d0d396679b4d1e27a211f7a822d (diff)
downloadfreebsd-ports-gnome-5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93.tar.gz
freebsd-ports-gnome-5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93.tar.zst
freebsd-ports-gnome-5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93.zip
Fix build with GCC 4.1
Diffstat (limited to 'lang/ohugs')
-rw-r--r--lang/ohugs/files/patch-src_omonad.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/ohugs/files/patch-src_omonad.c b/lang/ohugs/files/patch-src_omonad.c
new file mode 100644
index 000000000000..b420b1117953
--- /dev/null
+++ b/lang/ohugs/files/patch-src_omonad.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/omonad.c.orig
++++ src/omonad.c
+@@ -526,7 +526,7 @@
+
+ static int maxfd = -1;
+
+-static local void setReader Args((Int,Cell));
++/* static local void setReader Args((Int,Cell)); */
+ static local void addSocket Args((Int, Int, Cell));
+ static local void closeSocket Args((Int, Cell));
+ static local void closeDeleteSocket Args((Int));