summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2007-01-23 04:07:14 +0000
committervs <vs@FreeBSD.org>2007-01-23 04:07:14 +0000
commit5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93 (patch)
tree728c4ea599d094979a2a11a851a8c5a728ff11ed /lang
parent8b8cb93190993d0d396679b4d1e27a211f7a822d (diff)
downloadFreeBSD-ports-5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93.zip
FreeBSD-ports-5c57c3ba3fecf82cc7b45c4d7cf6314c322fdf93.tar.gz
Fix build with GCC 4.1
Diffstat (limited to 'lang')
-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 0000000..b420b11
--- /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));
OpenPOWER on IntegriCloud