summaryrefslogtreecommitdiffstats
path: root/comms/tits
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2002-09-24 11:24:29 +0000
committeralex <alex@FreeBSD.org>2002-09-24 11:24:29 +0000
commitfea1af2b2ee8d6e331adc3858f7e6438d77d0ae0 (patch)
tree9fe485e1e83f1598d29299ef8e0f10bfc76f1c13 /comms/tits
parentda82dd77f7a10a851cb65771488c7d2920394d17 (diff)
downloadFreeBSD-ports-fea1af2b2ee8d6e331adc3858f7e6438d77d0ae0.zip
FreeBSD-ports-fea1af2b2ee8d6e331adc3858f7e6438d77d0ae0.tar.gz
Fix build by properly defining an argument that is used for poll(2).
Noticed by: bento
Diffstat (limited to 'comms/tits')
-rw-r--r--comms/tits/files/patch-dispatcher.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/tits/files/patch-dispatcher.c b/comms/tits/files/patch-dispatcher.c
new file mode 100644
index 0000000..faccdbc
--- /dev/null
+++ b/comms/tits/files/patch-dispatcher.c
@@ -0,0 +1,11 @@
+--- dispatcher.c.orig Tue Sep 24 13:21:42 2002
++++ dispatcher.c Tue Sep 24 13:23:15 2002
+@@ -131,7 +131,7 @@
+ struct context *ctx;
+ struct client_ctx *cc;
+ struct pollfd *pf;
+- nfds_t pfds;
++ unsigned int pfds;
+ int nfds, errcnt = 0;
+
+ while (!TAILQ_EMPTY(&contexts)) {
OpenPOWER on IntegriCloud