From 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Wed, 17 Aug 2016 14:31:25 -0500 Subject: yocto-poky: Move to import-layers subdir We are going to import additional layers, so create a subdir to hold all of the layers that we import with git-subtree. Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799 Signed-off-by: Patrick Williams --- .../rpcbind/rpcbind/remove-sys-queue.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 import-layers/yocto-poky/meta/recipes-extended/rpcbind/rpcbind/remove-sys-queue.patch (limited to 'import-layers/yocto-poky/meta/recipes-extended/rpcbind/rpcbind/remove-sys-queue.patch') diff --git a/import-layers/yocto-poky/meta/recipes-extended/rpcbind/rpcbind/remove-sys-queue.patch b/import-layers/yocto-poky/meta/recipes-extended/rpcbind/rpcbind/remove-sys-queue.patch new file mode 100644 index 000000000..84fc974fd --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-extended/rpcbind/rpcbind/remove-sys-queue.patch @@ -0,0 +1,22 @@ +musl does not provide this header and here is reasoning +http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_sys.2Fqueue.h_not_included_.3F + +So include it only when __GLIBC__ is defined which is true for uclibc and glibc + +Signed-off-by: Khem Raj +Upstream-Status: Pending + +Index: rpcbind-0.2.2/src/util.c +=================================================================== +--- rpcbind-0.2.2.orig/src/util.c ++++ rpcbind-0.2.2/src/util.c +@@ -41,7 +41,9 @@ + + #include + #include ++#ifdef __GLIBC__ + #include ++#endif + #include + #include + #include -- cgit v1.2.1