summaryrefslogtreecommitdiffstats
path: root/package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-06-14 23:59:28 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-15 16:19:01 +0200
commitf44f95dd9807f167ca373d9d23f1970a22c88b82 (patch)
tree75d71f6f07026b18d23922e23b76b696564abfae /package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch
parentc839605ff078fd0c26c1cd4485e14643f0de453a (diff)
downloadbuildroot-f44f95dd9807f167ca373d9d23f1970a22c88b82.tar.gz
buildroot-f44f95dd9807f167ca373d9d23f1970a22c88b82.zip
package/libtirpc: bump version
Bump to version 0.3.1: - update our patches - rename patches for proper numbering - drop patch 0007, applied upstream Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch')
-rw-r--r--package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch b/package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch
index 6ec5d8e43d..44b5f99926 100644
--- a/package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch
+++ b/package/libtirpc/0002-uClibc-without-RPC-support-does-not-install-rpcent.h.patch
@@ -1,23 +1,25 @@
-From a20f33ad121fb1e9d1fbc31a0044546450677e7a Mon Sep 17 00:00:00 2001
+From 7aa1fe6a0f9280571117c30c03c2cc521cd86ec3 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Sat, 23 Jun 2012 21:58:07 +0200
Subject: [PATCH] uClibc without RPC support does not install rpcent.h
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+[yann.morin.1998@free.fr: update for 0.3.1]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
tirpc/rpc/rpcent.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h
-index c865e51..45775ed 100644
+index 147f909..4a58180 100644
--- a/tirpc/rpc/rpcent.h
+++ b/tirpc/rpc/rpcent.h
-@@ -46,8 +46,9 @@
-
- __BEGIN_DECLS
+@@ -48,8 +48,9 @@
+ extern "C" {
+ #endif
-/* These are defined in /usr/include/rpc/netdb.h */
--#if 0
+-#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__)
@@ -25,5 +27,5 @@ index c865e51..45775ed 100644
char *r_name; /* name of server for this rpc program */
char **r_aliases; /* alias list */
--
-2.0.0
+1.9.1
OpenPOWER on IntegriCloud