libtirpc/libtirpc-0.2.3-remove-nis.patch

29 lines
1.0 KiB
Diff

Submitted By: Bruce Dubbs <bdubbs_at_linuxfromscratch_dot_org>
Date: 2011-11-19
Initial Package Version: 0.2.2
Upstream Status: Not submitted
Origin: Upstream and LFS
Description: This patch contains removes nis references that
have been removed from glibc.
diff -Naur libtirpc-0.2.2.orig/src/rpc_soc.c libtirpc-0.2.2/src/rpc_soc.c
--- libtirpc-0.2.2.orig/src/rpc_soc.c 2011-05-02 07:10:40.000000000 -0500
+++ libtirpc-0.2.2/src/rpc_soc.c 2011-11-19 19:46:22.000000000 -0600
@@ -519,6 +519,7 @@
* Create the client des authentication object. Obsoleted by
* authdes_seccreate().
*/
+#ifdef NEVER
AUTH *
authdes_create(servername, window, syncaddr, ckey)
char *servername; /* network name of server */
@@ -546,6 +547,7 @@
dummy = authdes_seccreate(servername, window, NULL, ckey);
return (dummy);
}
+#endif
/*
* Create a client handle for a unix connection. Obsoleted by clnt_vc_create()