libtirpc: actually fix musl

This commit is contained in:
R. Andrew Ohana 2016-01-08 15:14:40 -08:00
parent 6c7da4d237
commit 250a06dc95
2 changed files with 21 additions and 1 deletions

View File

@ -115,3 +115,23 @@ diff -Naur a/src/rpcdname.c b/src/rpcdname.c
+ return (0); + return (0);
+ return (-1); + return (-1);
+} +}
--- src/rpc_soc.c 2016-01-08 14:58:32.342790730 -0800
+++ src/rpc_soc.c 2016-01-08 15:00:40.997863321 -0800
@@ -520,6 +520,8 @@
(resultproc_t) rpc_wrap_bcast, "udp");
}
+#ifdef HAVE_YP_PROT_H
+
/*
* Create the client des authentication object. Obsoleted by
* authdes_seccreate().
@@ -552,6 +554,8 @@
return (dummy);
}
+#endif
+
/*
* Create a client handle for a unix connection. Obsoleted by clnt_vc_create()
*/

View File

@ -1,7 +1,7 @@
# Template file for 'libtirpc' # Template file for 'libtirpc'
pkgname=libtirpc pkgname=libtirpc
version=0.3.2 version=0.3.2
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config mit-krb5-devel automake libtool" hostmakedepends="pkg-config mit-krb5-devel automake libtool"
makedepends="mit-krb5-devel libgssglue-devel" makedepends="mit-krb5-devel libgssglue-devel"