diff options
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch | 18 | ||||
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils_6.9.bb | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch b/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch new file mode 100644 index 0000000000..c72efd4d30 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-6.9/loadavg.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | Remove hardcoded paths so OE's configure QA does not detect it and fail the builds | ||
| 2 | For cross compilation is less interesting to look into host paths for target libraries anyway | ||
| 3 | |||
| 4 | Upstream-Status: Inappropriate [OE Specific] | ||
| 5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 6 | |||
| 7 | Index: coreutils-6.9/m4/getloadavg.m4 | ||
| 8 | =================================================================== | ||
| 9 | --- coreutils-6.9.orig/m4/getloadavg.m4 | ||
| 10 | +++ coreutils-6.9/m4/getloadavg.m4 | ||
| 11 | @@ -49,7 +49,6 @@ if test $gl_have_func = no; then | ||
| 12 | # There is a commonly available library for RS/6000 AIX. | ||
| 13 | # Since it is not a standard part of AIX, it might be installed locally. | ||
| 14 | gl_getloadavg_LIBS=$LIBS | ||
| 15 | - LIBS="-L/usr/local/lib $LIBS" | ||
| 16 | AC_CHECK_LIB(getloadavg, getloadavg, | ||
| 17 | [LIBS="-lgetloadavg $LIBS"], [LIBS=$gl_getloadavg_LIBS]) | ||
| 18 | fi | ||
diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 8d5b96db96..e9f82abc8b 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb | |||
| @@ -26,6 +26,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ | |||
| 26 | file://coreutils-build-with-acl.patch \ | 26 | file://coreutils-build-with-acl.patch \ |
| 27 | file://coreutils-fix-texinfo.patch \ | 27 | file://coreutils-fix-texinfo.patch \ |
| 28 | file://fix_for_manpage_building.patch \ | 28 | file://fix_for_manpage_building.patch \ |
| 29 | file://loadavg.patch \ | ||
| 29 | " | 30 | " |
| 30 | 31 | ||
| 31 | SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" | 32 | SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" |
