pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ircu Fix build on SunOS when epoll is available.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0ecfd2e65cf
branches:  trunk
changeset: 639714:c0ecfd2e65cf
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 23 22:13:50 2014 +0000

description:
Fix build on SunOS when epoll is available.

diffstat:

 chat/ircu/distinfo                           |   3 ++-
 chat/ircu/patches/patch-ircd_engine__epoll.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 9188b288bab2 -r c0ecfd2e65cf chat/ircu/distinfo
--- a/chat/ircu/distinfo        Tue Sep 23 21:47:52 2014 +0000
+++ b/chat/ircu/distinfo        Tue Sep 23 22:13:50 2014 +0000
@@ -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 -r 9188b288bab2 -r c0ecfd2e65cf chat/ircu/patches/patch-ircd_engine__epoll.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/ircu/patches/patch-ircd_engine__epoll.c      Tue Sep 23 22:13:50 2014 +0000
@@ -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. */



Home | Main Index | Thread Index | Old Index