summaryrefslogtreecommitdiff
path: root/package/rpcbind/patches/patch-src_util_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-08 19:31:41 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-08 19:31:57 +0200
commite010476a7aa4548e47e6d76455cb09d289851ab9 (patch)
tree162d1e5e60718ccebe31c5486e37440e0cdd597e /package/rpcbind/patches/patch-src_util_c
parentac9ec140fbb81e12f9121c21b0d39b5747d6c37c (diff)
fix nfs-utils/rpcbind for musl toolchains, patches mostly from Alpine Linux
Diffstat (limited to 'package/rpcbind/patches/patch-src_util_c')
-rw-r--r--package/rpcbind/patches/patch-src_util_c27
1 files changed, 27 insertions, 0 deletions
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 <sys/types.h>
+ #include <sys/socket.h>
+-#include <sys/queue.h>
+ #include <net/if.h>
+ #include <netinet/in.h>
+ #include <ifaddrs.h>
+@@ -56,6 +55,7 @@
+ #include <stdio.h>
+ #include <arpa/inet.h>
+
++#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