diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-01-23 21:54:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:51:30 +0000 |
commit | a8514d619830c976ae66cb582b8050908a85a7b5 (patch) | |
tree | fd6bb6e335efae640e68fc510da922365fb0f39a /meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch | |
parent | 830eeee2da5bdea2420a1eac8814e4a51eacbd7a (diff) | |
download | openembedded-core-a8514d619830c976ae66cb582b8050908a85a7b5.tar.gz |
rpcbind: Dont use nss with uclibc
Add defines which otherwise are missing in uclibc nss
(From OE-Core rev: 649c72a9aba96a609f699970933f4fa60e3cb5bc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch')
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch new file mode 100644 index 0000000000..afa55f3b76 --- /dev/null +++ b/meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch @@ -0,0 +1,30 @@ +Upstream-Status: Pending + +From b8f0d7b7318ba344c25785d6f5cf3f8de98012d4 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Tue, 2 Feb 2010 09:36:03 +0000 +Subject: [PATCH 1/2] uclibc-nss + +--- + src/rpcbind.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/src/rpcbind.c b/src/rpcbind.c +index 525ffba..1fe1a60 100644 +--- a/src/rpcbind.c ++++ b/src/rpcbind.c +@@ -67,7 +67,11 @@ + #include <pwd.h> + #include <string.h> + #include <errno.h> ++#if defined(__UCLIBC__) ++#define __nss_configure_lookup(x,y) ++#else + #include <nss.h> ++#endif + #include "config.h" + #include "rpcbind.h" + +-- +1.6.6.1 + |