Ian Kent c27a1d
autofs-5.0.6 - fix rpc build error
Ian Kent c27a1d
Ian Kent c27a1d
From: Leonardo Chiquitto <leonardo.lists@gmail.com>
Ian Kent c27a1d
Ian Kent c27a1d
The compile error looks like a problem in the libtirpc interface code rewrite
Ian Kent c27a1d
(commit f8ea2a5762 - autofs-5.0.6 - fix ipv6 rpc calls). The following patch
Ian Kent c27a1d
should fix it.
Ian Kent c27a1d
---
Ian Kent c27a1d
Ian Kent c27a1d
 CHANGELOG      |    1 +
Ian Kent c27a1d
 lib/rpc_subs.c |    2 +-
Ian Kent c27a1d
 2 files changed, 2 insertions(+), 1 deletion(-)
Ian Kent c27a1d
Ian Kent c27a1d
Ian Kent c27a1d
--- autofs-5.0.6.orig/CHANGELOG
Ian Kent c27a1d
+++ autofs-5.0.6/CHANGELOG
Ian Kent c27a1d
@@ -20,6 +20,7 @@
Ian Kent c27a1d
 - add systemd unit support.
Ian Kent c27a1d
 - remove empty command line arguments (passed by systemd).
Ian Kent c27a1d
 - fix improve mount location error reporting.
Ian Kent c27a1d
+- fix rpc build error.
Ian Kent c27a1d
 
Ian Kent c27a1d
 28/06/2011 autofs-5.0.6
Ian Kent c27a1d
 -----------------------
Ian Kent c27a1d
--- autofs-5.0.6.orig/lib/rpc_subs.c
Ian Kent c27a1d
+++ autofs-5.0.6/lib/rpc_subs.c
Ian Kent c27a1d
@@ -154,7 +154,7 @@ static CLIENT *rpc_do_create_client(stru
Ian Kent c27a1d
 {
Ian Kent c27a1d
 	CLIENT *client = NULL;
Ian Kent c27a1d
 	struct sockaddr_in in4_laddr;
Ian Kent c27a1d
-	struct sockaddr_in in4_raddr;
Ian Kent c27a1d
+	struct sockaddr_in *in4_raddr;
Ian Kent c27a1d
 	int type, proto;
Ian Kent c27a1d
 	socklen_t slen;
Ian Kent c27a1d