diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-08 19:31:41 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-08 19:31:57 +0200 |
commit | e010476a7aa4548e47e6d76455cb09d289851ab9 (patch) | |
tree | 162d1e5e60718ccebe31c5486e37440e0cdd597e /package/rpcbind/patches/patch-src_rpcb_svc_c | |
parent | ac9ec140fbb81e12f9121c21b0d39b5747d6c37c (diff) |
fix nfs-utils/rpcbind for musl toolchains, patches mostly from Alpine Linux
Diffstat (limited to 'package/rpcbind/patches/patch-src_rpcb_svc_c')
-rw-r--r-- | package/rpcbind/patches/patch-src_rpcb_svc_c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/rpcbind/patches/patch-src_rpcb_svc_c b/package/rpcbind/patches/patch-src_rpcb_svc_c new file mode 100644 index 000000000..dbdbf00e2 --- /dev/null +++ b/package/rpcbind/patches/patch-src_rpcb_svc_c @@ -0,0 +1,26 @@ +--- rpcbind-0.2.3.orig/src/rpcb_svc.c 2015-04-27 16:07:43.000000000 +0200 ++++ rpcbind-0.2.3/src/rpcb_svc.c 2016-10-08 18:19:45.000000000 +0200 +@@ -53,10 +53,10 @@ + #include "rpcbind.h" + #include "xlog.h" + +-static void *rpcbproc_getaddr_3_local __P((void *, struct svc_req *, SVCXPRT *, +- rpcvers_t)); +-static void *rpcbproc_dump_3_local __P((void *, struct svc_req *, SVCXPRT *, +- rpcvers_t)); ++static void *rpcbproc_getaddr_3_local (void *, struct svc_req *, SVCXPRT *, ++ rpcvers_t); ++static void *rpcbproc_dump_3_local (void *, struct svc_req *, SVCXPRT *, ++ rpcvers_t); + + /* + * Called by svc_getreqset. There is a separate server handle for +@@ -75,7 +75,7 @@ rpcb_service_3(struct svc_req *rqstp, SV + } argument; + char *result; + xdrproc_t xdr_argument, xdr_result; +- void *(*local) __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t)); ++ void *(*local) (void *, struct svc_req *, SVCXPRT *, rpcvers_t); + rpcprog_t setprog = 0; + + rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc); |