File autofs-5.0.6-fix-rpc-build-error.patch of Package autofs.import5769

commit 67404f4928fec6dd18f3e6d0b8e4e3f8286bdb20
Author: Leonardo Chiquitto <leonardo.lists@gmail.com>
Date:   Sat Dec 10 09:55:26 2011 +0800

    autofs-5.0.6 - fix rpc build error
    
    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.

Index: autofs-5.0.5/lib/rpc_subs.c
===================================================================
--- autofs-5.0.5.orig/lib/rpc_subs.c
+++ autofs-5.0.5/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;
 
Index: autofs-5.0.5/CHANGELOG
===================================================================
--- autofs-5.0.5.orig/CHANGELOG
+++ autofs-5.0.5/CHANGELOG
@@ -92,6 +92,7 @@
 - fix ipv6 name lookup check.
 - fix ipv6 rpc calls.
 - fix ipv6 configure check.
+- fix rpc build error.
 
 03/09/2009 autofs-5.0.5
 -----------------------
openSUSE Build Service is sponsored by