openbsd-ports/net/trickle/patches/patch-trickle-overload_c
gonzalo cc1e6eb4a7 Little update to make Makefile better to eyes, USE_GROFF is not needed,
fix the HOMEPAGE, add rc.d(8) script and cut the rc.local
parts on MESSAGE because now we have rc script.

Tested on i386.

Ok okan@, aja@, gsoares@
2012-05-24 18:40:49 +00:00

13 lines
639 B
Plaintext

$OpenBSD: patch-trickle-overload_c,v 1.2 2012/05/24 18:40:49 gonzalo Exp $
--- trickle-overload.c.orig Mon Jun 2 20:13:28 2003
+++ trickle-overload.c Tue May 8 16:53:30 2012
@@ -473,7 +473,7 @@ select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *e
#define POLL_WRMASK (POLLOUT | POLLWRNORM | POLLWRBAND)
#define POLL_RDMASK (POLLIN | /* POLLNORM | */ POLLPRI | POLLRDNORM | POLLRDBAND)
-#if defined(__linux__) || (defined(__svr4__) && defined(__sun__))
+#if defined(__linux__) || (defined(__svr4__) && defined(__sun__)) || defined(__OpenBSD__)
int
poll(struct pollfd *fds, nfds_t nfds, int __timeout)
#elif defined(__FreeBSD__)