aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-04-06 17:36:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 10:45:27 +0100
commit5ed97aeeb603506d772d252f97b9b6e02d84ae9a (patch)
tree6fe982e99410d3165c13e48b5261543919c4a6e2 /meta/recipes-extended/rpcbind/rpcbind/0002-uclibc-rpcsvc-defines.patch
parent0dfe553d58a76cc0d2592cf5746a1f24a3cd6ee4 (diff)
downloadopenembedded-core-contrib-5ed97aeeb603506d772d252f97b9b6e02d84ae9a.tar.gz
rpcbind: Fix build with musl
most patches are just removing glibc'ism e.g. using sys/queue.h of cdefs.h the one patch which is specific to musl is housed with overrides Change-Id: Ia15bf6c9c4b562c9392a704ef92e9090aa5f6381 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 @@
-Upstream-Status: Pending
-
From 077add040c2e30d3ac507362f4afe350f47be027 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 2 Feb 2010 09:47:57 +0000
Subject: [PATCH 2/2] uclibc-rpcsvc-defines
+Upstream-Status: Pending
+
---
src/security.c | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
@@ -17,7 +17,7 @@ index 0edeac6..e9fed55 100644
/*
* XXX for special case checks in check_callit.
*/
-+#if defined(__UCLIBC__)
++#if defined(__UCLIBC__) || !defined(__GLIBC__)
+
+#define MOUNTPROC_MNT 1
+#define MOUNTPROC_UMNT 3