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