aboutsummaryrefslogtreecommitdiffstats
path: root/main/rpcbind
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-02-12 11:08:26 +0200
committerTimo Teräs <timo.teras@iki.fi>2014-02-12 11:08:26 +0200
commit9e822f573addc6e8370611c766251e927dcad7f3 (patch)
tree89ccc3cb93e61de59e6cdd46edbc449f4c5e0530 /main/rpcbind
parent7a3081d96f4bf0169ddbd96ac0e277421482cf4f (diff)
downloadaports-9e822f573addc6e8370611c766251e927dcad7f3.tar.bz2
aports-9e822f573addc6e8370611c766251e927dcad7f3.tar.xz
main/rpcbind: add missing musl patch
Diffstat (limited to 'main/rpcbind')
-rw-r--r--main/rpcbind/musl-poll.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/rpcbind/musl-poll.patch b/main/rpcbind/musl-poll.patch
new file mode 100644
index 0000000000..9996d78426
--- /dev/null
+++ b/main/rpcbind/musl-poll.patch
@@ -0,0 +1,19 @@
+--- rpcbind-0.2.1.orig/src/rpcb_svc_com.c
++++ rpcbind-0.2.1/src/rpcb_svc_com.c
+@@ -42,8 +42,6 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/param.h>
+-#include <sys/poll.h>
+-#include <bits/poll.h>
+ #include <sys/socket.h>
+ #include <rpc/rpc.h>
+ #include <rpc/rpcb_prot.h>
+@@ -54,6 +52,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <time.h>
++#include <poll.h>
+ #ifdef PORTMAP
+ #include <netinet/in.h>
+ #include <rpc/pmap_prot.h>