From 6965e3b54aec454f98b8c0ebf7d0fbe64208559e Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Tue, 23 Jan 2007 04:07:14 +0000 Subject: Fix build with GCC 4.1 --- lang/ohugs/files/patch-src_omonad.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lang/ohugs/files/patch-src_omonad.c (limited to 'lang/ohugs/files/patch-src_omonad.c') 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)); -- cgit v1.2.3