summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch')
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch b/meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch
index c54fc96fc0..6b113165c4 100644
--- a/meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch
+++ b/meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch
@@ -1,10 +1,10 @@
1Upstream-Status: Pending
2
3From 077add040c2e30d3ac507362f4afe350f47be027 Mon Sep 17 00:00:00 2001 1From 077add040c2e30d3ac507362f4afe350f47be027 Mon Sep 17 00:00:00 2001
4From: Natanael Copa <ncopa@alpinelinux.org> 2From: Natanael Copa <ncopa@alpinelinux.org>
5Date: Tue, 2 Feb 2010 09:47:57 +0000 3Date: Tue, 2 Feb 2010 09:47:57 +0000
6Subject: [PATCH 2/2] uclibc-rpcsvc-defines 4Subject: [PATCH 2/2] uclibc-rpcsvc-defines
7 5
6Upstream-Status: Pending
7
8--- 8---
9 src/security.c | 28 ++++++++++++++++++++++++++++ 9 src/security.c | 28 ++++++++++++++++++++++++++++
10 1 files changed, 28 insertions(+), 0 deletions(-) 10 1 files changed, 28 insertions(+), 0 deletions(-)
@@ -17,7 +17,7 @@ index 0edeac6..e9fed55 100644
17 /* 17 /*
18 * XXX for special case checks in check_callit. 18 * XXX for special case checks in check_callit.
19 */ 19 */
20+#if defined(__UCLIBC__) 20+#if defined(__UCLIBC__) || !defined(__GLIBC__)
21+ 21+
22+#define MOUNTPROC_MNT 1 22+#define MOUNTPROC_MNT 1
23+#define MOUNTPROC_UMNT 3 23+#define MOUNTPROC_UMNT 3