From 8b84e778fb481075d245e1d5cc1b3b81024681d5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 13 Oct 2015 03:40:56 +0000 Subject: rpcbind: Fix build with uclibc The 0001-uclibc-nss.patch has been applied upstream in a bit different way but solves the issue at hand Change-Id: I7312d109d01c08338d4673383e2eaccee219b7bd Signed-off-by: Khem Raj Signed-off-by: Ross Burton --- .../rpcbind/rpcbind/0001-uclibc-nss.patch | 30 ---------------------- meta/recipes-extended/rpcbind/rpcbind_0.2.3.bb | 2 -- 2 files changed, 32 deletions(-) delete mode 100644 meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch deleted file mode 100644 index afa55f3b76..0000000000 --- a/meta/recipes-extended/rpcbind/rpcbind/0001-uclibc-nss.patch +++ /dev/null @@ -1,30 +0,0 @@ -Upstream-Status: Pending - -From b8f0d7b7318ba344c25785d6f5cf3f8de98012d4 Mon Sep 17 00:00:00 2001 -From: Natanael Copa -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 - #include - #include -+#if defined(__UCLIBC__) -+#define __nss_configure_lookup(x,y) -+#else - #include -+#endif - #include "config.h" - #include "rpcbind.h" - --- -1.6.6.1 - diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.3.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.3.bb index 333602185c..237018b439 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_0.2.3.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.3.bb @@ -22,8 +22,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ " MUSLPATCHES_libc-musl = "file://musl-sunrpc.patch" -UCLIBCPATCHES_libc-uclibc = "file://0001-uclibc-nss.patch \ - " UCLIBCPATCHES ?= "" MUSLPATCHES ?= "" -- cgit 1.2.3-korg