From 8ba70a1c28a4e0ee73db5308b38abc923b0be44d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 2 Mar 2017 12:24:31 +0000 Subject: Create meta-gplv2 from files from OE-Core Signed-off-by: Richard Purdie --- recipes-core/coreutils/coreutils-6.9/loadavg.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 recipes-core/coreutils/coreutils-6.9/loadavg.patch (limited to 'recipes-core/coreutils/coreutils-6.9/loadavg.patch') diff --git a/recipes-core/coreutils/coreutils-6.9/loadavg.patch b/recipes-core/coreutils/coreutils-6.9/loadavg.patch new file mode 100644 index 0000000..c72efd4 --- /dev/null +++ b/recipes-core/coreutils/coreutils-6.9/loadavg.patch @@ -0,0 +1,18 @@ +Remove hardcoded paths so OE's configure QA does not detect it and fail the builds +For cross compilation is less interesting to look into host paths for target libraries anyway + +Upstream-Status: Inappropriate [OE Specific] +Signed-off-by: Khem Raj + +Index: coreutils-6.9/m4/getloadavg.m4 +=================================================================== +--- coreutils-6.9.orig/m4/getloadavg.m4 ++++ coreutils-6.9/m4/getloadavg.m4 +@@ -49,7 +49,6 @@ if test $gl_have_func = no; then + # There is a commonly available library for RS/6000 AIX. + # Since it is not a standard part of AIX, it might be installed locally. + gl_getloadavg_LIBS=$LIBS +- LIBS="-L/usr/local/lib $LIBS" + AC_CHECK_LIB(getloadavg, getloadavg, + [LIBS="-lgetloadavg $LIBS"], [LIBS=$gl_getloadavg_LIBS]) + fi -- cgit v1.2.3-54-g00ecf