From f22c6e26a5c3fb06318d904b932d584713b10601 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 20 Jun 2019 00:31:09 +0000 Subject: user/nfs-utils: bump to 2.4.1, fix bugs in nfsdcld --- user/nfs-utils/undef-def.patch | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'user/nfs-utils/undef-def.patch') diff --git a/user/nfs-utils/undef-def.patch b/user/nfs-utils/undef-def.patch index 12bff6ddf..a8b03ac03 100644 --- a/user/nfs-utils/undef-def.patch +++ b/user/nfs-utils/undef-def.patch @@ -1,17 +1,6 @@ ---- nfs-utils-2.3.3/support/nfs/svc_socket.c.old 2018-09-06 18:09:08.000000000 +0000 -+++ nfs-utils-2.3.3/support/nfs/svc_socket.c 2019-01-10 16:17:02.270000000 +0000 -@@ -46,7 +46,7 @@ - struct rpcent *rpcp; - struct servent servbuf, *servp = NULL; - int ret = 0; --#if HAVE_GETRPCBYNUMBER_R -+#ifdef HAVE_GETRPCBYNUMBER_R - char rpcdata[1024]; - struct rpcent rpcbuf; - --- nfs-utils-2.3.3/utils/mountd/cache.c.old 2018-09-06 18:09:08.000000000 +0000 +++ nfs-utils-2.3.3/utils/mountd/cache.c 2019-01-10 16:26:22.750000000 +0000 -@@ -426,7 +426,7 @@ +@@ -446,7 +446,7 @@ if (count_slashes(p) != count_slashes(parent)) return 0; @@ -31,12 +20,3 @@ /* Cannot safely include linux/in6.h in old glibc, so hardcode the needed values */ # define IPV6_PREFER_SRC_PUBLIC 2 # define IPV6_ADDR_PREFERENCES 72 -@@ -1062,7 +1062,7 @@ - if (caddr) { - /* Get the address of our end of this connection */ - socklen_t len = sizeof(*caddr); -- if (getsockname(sock, caddr, &len) != 0) -+ if (getsockname(sock, (struct sockaddr *)caddr, &len) != 0) - caddr->sin_family = 0; - } - -- cgit v1.2.3-60-g2f50