diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-23 22:13:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-23 22:13:50 +0000 |
commit | 3855aba32cdbf89c8841b3f05fb01857d10c285f (patch) | |
tree | b69e88f0dbaa49d71e7b82135ff40ca037d1774d /chat | |
parent | da89a1daa853bce6f81c1caab51432ff5548f3a6 (diff) | |
download | pkgsrc-3855aba32cdbf89c8841b3f05fb01857d10c285f.tar.gz |
Fix build on SunOS when epoll is available.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/ircu/distinfo | 3 | ||||
-rw-r--r-- | chat/ircu/patches/patch-ircd_engine__epoll.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/chat/ircu/distinfo b/chat/ircu/distinfo index 862e695d717..fb3e12e5c17 100644 --- a/chat/ircu/distinfo +++ b/chat/ircu/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.13 2008/03/24 18:40:19 adrianp Exp $ +$NetBSD: distinfo,v 1.14 2014/09/23 22:13:50 jperkin Exp $ SHA1 (ircu2.10.12.12.tar.gz) = 1b4876d7de2d31bb515b1f6dcb35a12b28ab81d9 RMD160 (ircu2.10.12.12.tar.gz) = 263155d56ae96556b971aed40eed97ac56501224 Size (ircu2.10.12.12.tar.gz) = 1013342 bytes SHA1 (patch-ah) = 2ffd8cc861bbe8aad697bd3b8ca63aa145104eea SHA1 (patch-ai) = 308d4087e5dc182bfe299a4e5157719bff2a914f +SHA1 (patch-ircd_engine__epoll.c) = bb1e230e37ea06d352d59f213529a66d819af938 diff --git a/chat/ircu/patches/patch-ircd_engine__epoll.c b/chat/ircu/patches/patch-ircd_engine__epoll.c new file mode 100644 index 00000000000..d7e6b508fe7 --- /dev/null +++ b/chat/ircu/patches/patch-ircd_engine__epoll.c @@ -0,0 +1,16 @@ +$NetBSD: patch-ircd_engine__epoll.c,v 1.1 2014/09/23 22:13:50 jperkin Exp $ + +Fix SunOS epoll build. + +--- ircd/engine_epoll.c.orig 2005-08-25 01:26:46.000000000 +0000 ++++ ircd/engine_epoll.c +@@ -39,7 +39,9 @@ + #include <sys/epoll.h> + #include <sys/socket.h> + #include <time.h> ++#ifndef __sun + #include <linux/unistd.h> ++#endif + + /* The GNU C library may have a valid header but stub implementations + * of the epoll system calls. If so, provide our own. */ |