Merge pull request #3340 from ohanar/libtirpc-musl-fix

libtirpc: actually fix musl
This commit is contained in:
Juan RP 2016-01-09 06:44:45 +01:00
commit 8ab18bf6d5
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 (-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'
pkgname=libtirpc
version=0.3.2
revision=3
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config mit-krb5-devel automake libtool"
makedepends="mit-krb5-devel libgssglue-devel"