File autofs-5.0.6-fix-libtirpc-name-typo.patch of Package autofs.import5769

Fix typo in libtirpc file name

The library file name was misspelled as libitirpc.so.

Index: autofs-5.0.5/daemon/automount.c
===================================================================
--- autofs-5.0.5.orig/daemon/automount.c
+++ autofs-5.0.5/daemon/automount.c
@@ -2180,9 +2180,9 @@ int main(int argc, char *argv[])
 		xmlInitParser();
 #endif
 #ifdef TIRPC_WORKAROUND
-	void *dh_tirpc = dlopen("libitirpc.so", RTLD_NOW);
+	void *dh_tirpc = dlopen("libtirpc.so", RTLD_NOW);
 	if (!dh_tirpc)
-		dh_tirpc = dlopen("libitirpc.so.1", RTLD_NOW);
+		dh_tirpc = dlopen("libtirpc.so.1", RTLD_NOW);
 #endif
 
 	if (!master_read_master(master_list, age, 0)) {
Index: autofs-5.0.5/CHANGELOG
===================================================================
--- autofs-5.0.5.orig/CHANGELOG
+++ autofs-5.0.5/CHANGELOG
@@ -93,6 +93,7 @@
 - fix ipv6 rpc calls.
 - fix ipv6 configure check.
 - fix rpc build error.
+- fix typo in libtirpc file name.
 
 03/09/2009 autofs-5.0.5
 -----------------------
openSUSE Build Service is sponsored by