summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-utils_statd_rmtcall_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/nfs-utils/patches/patch-utils_statd_rmtcall_c
parentac9ec140fbb81e12f9121c21b0d39b5747d6c37c (diff)
fix nfs-utils/rpcbind for musl toolchains, patches mostly from Alpine Linux
Diffstat (limited to 'package/nfs-utils/patches/patch-utils_statd_rmtcall_c')
-rw-r--r--package/nfs-utils/patches/patch-utils_statd_rmtcall_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/nfs-utils/patches/patch-utils_statd_rmtcall_c b/package/nfs-utils/patches/patch-utils_statd_rmtcall_c
new file mode 100644
index 000000000..102794697
--- /dev/null
+++ b/package/nfs-utils/patches/patch-utils_statd_rmtcall_c
@@ -0,0 +1,13 @@
+--- nfs-utils-1.3.4.orig/utils/statd/rmtcall.c 2016-08-03 20:25:15.000000000 +0200
++++ nfs-utils-1.3.4/utils/statd/rmtcall.c 2016-10-08 17:55:10.000000000 +0200
+@@ -93,8 +93,10 @@ statd_get_socket(void)
+ __func__);
+ break;
+ }
++#if 0
+ se = getservbyport(sin.sin_port, "udp");
+ if (se == NULL)
++#endif
+ break;
+
+ if (retries == MAX_BRP_RETRIES) {