autofs/autofs-5.0.6-fix-rpc-build-error.patch
Ian Kent c27a1d8eef * Tue Feb 7 2012 Ian Kent <knt@redhat.com> - 1:5.0.6-10
- fix rpc build error.
- add sss lookup module.
- teach automount about sss source.
2012-02-07 09:25:08 +08:00

36 lines
949 B
Diff

autofs-5.0.6 - fix rpc build error
From: Leonardo Chiquitto <leonardo.lists@gmail.com>
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;