From e010476a7aa4548e47e6d76455cb09d289851ab9 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 8 Oct 2016 19:31:41 +0200 Subject: fix nfs-utils/rpcbind for musl toolchains, patches mostly from Alpine Linux --- package/rpcbind/patches/patch-src_util_c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/rpcbind/patches/patch-src_util_c (limited to 'package/rpcbind/patches/patch-src_util_c') diff --git a/package/rpcbind/patches/patch-src_util_c b/package/rpcbind/patches/patch-src_util_c new file mode 100644 index 000000000..69669f0e1 --- /dev/null +++ b/package/rpcbind/patches/patch-src_util_c @@ -0,0 +1,27 @@ +--- rpcbind-0.2.3.orig/src/util.c 2015-04-27 16:07:43.000000000 +0200 ++++ rpcbind-0.2.3/src/util.c 2016-10-08 18:28:03.000000000 +0200 +@@ -41,7 +41,6 @@ + + #include + #include +-#include + #include + #include + #include +@@ -56,6 +55,7 @@ + #include + #include + ++#include "queue.h" + #include "rpcbind.h" + + #define SA2SIN(sa) ((struct sockaddr_in *)(sa)) +@@ -70,7 +70,7 @@ static struct sockaddr_in *local_in4; + static struct sockaddr_in6 *local_in6; + #endif + +-static int bitmaskcmp __P((void *, void *, void *, int)); ++static int bitmaskcmp (void *, void *, void *, int); + + /* + * For all bits set in "mask", compare the corresponding bits in -- cgit v1.2.3