summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-tirpc_rpc_rpcent_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-06 10:24:52 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-06 10:25:35 +0100
commitbe49c58d77ce855f902728b0c68fc10bafee6257 (patch)
treeed0c6965ec9ce26d0257cfa6514ce60ed9b74d95 /package/libtirpc/patches/patch-tirpc_rpc_rpcent_h
parent97643b0bf020cced1ba9c66e74604800b74a7b34 (diff)
libtirpc: update to latest stable version
Diffstat (limited to 'package/libtirpc/patches/patch-tirpc_rpc_rpcent_h')
-rw-r--r--package/libtirpc/patches/patch-tirpc_rpc_rpcent_h6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libtirpc/patches/patch-tirpc_rpc_rpcent_h b/package/libtirpc/patches/patch-tirpc_rpc_rpcent_h
index 73c8ef727..46dd86d8b 100644
--- a/package/libtirpc/patches/patch-tirpc_rpc_rpcent_h
+++ b/package/libtirpc/patches/patch-tirpc_rpc_rpcent_h
@@ -1,5 +1,5 @@
---- libtirpc-0.3.1.orig/tirpc/rpc/rpcent.h 2015-06-01 14:13:24.000000000 +0200
-+++ libtirpc-0.3.1/tirpc/rpc/rpcent.h 2015-06-17 22:09:32.000000000 +0200
+--- libtirpc-1.0.1.orig/tirpc/rpc/rpcent.h 2015-10-30 16:15:14.000000000 +0100
++++ libtirpc-1.0.1/tirpc/rpc/rpcent.h 2015-11-29 16:38:28.630648509 +0100
@@ -48,8 +48,9 @@
extern "C" {
#endif
@@ -8,7 +8,7 @@
-#if !defined(__GLIBC__)
+/* These are defined in /usr/include/rpc/netdb.h, unless we are using
+ the C library without RPC support. */
-+#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__)
++#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__)
struct rpcent {
char *r_name; /* name of server for this rpc program */
char **r_aliases; /* alias list */