diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-10-20 12:24:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-24 17:27:18 +0100 |
commit | eee0b5aadba34130080df8aebc7e8dd57c7d5ccb (patch) | |
tree | 7845ac646acd73d4a6db541c4d0202f3fa5907dc /meta/recipes-core/coreutils/coreutils-8.14 | |
parent | 74d1c5e4ad50d4d5465105cc0afe35f4f4a9a8d4 (diff) | |
download | poky-eee0b5aadba34130080df8aebc7e8dd57c7d5ccb.tar.gz |
coreutils: Upgrade recipe 8.12 -> 8.14
Change in site files is needed since in cross
build envrionment the test to check for
gl_cv_func_fstatat_zero_flag is a runtime test
(From OE-Core rev: 906c46d17146bc91e79999d861274e802e9fc745)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-8.14')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch b/meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch new file mode 100644 index 0000000000..2ef8a548ac --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | We have problem using hardcoded directories like /usr/local here | ||
2 | which will be checked for cross builds. This is a special case which | ||
3 | is valid for AIX only. We do not have AIX as one of our supported | ||
4 | build host or target. Therefore we get rid of the hardcoded paths | ||
5 | and make life easier for cross compilation process. | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | |||
9 | Upstream-Status: Inappropriate [Upstream does care for AIX while we may not] | ||
10 | |||
11 | Index: coreutils-8.14/m4/getloadavg.m4 | ||
12 | =================================================================== | ||
13 | --- coreutils-8.14.orig/m4/getloadavg.m4 2011-09-19 08:09:24.000000000 -0700 | ||
14 | +++ coreutils-8.14/m4/getloadavg.m4 2011-10-19 21:42:00.385533357 -0700 | ||
15 | @@ -41,16 +41,6 @@ | ||
16 | [LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes]) | ||
17 | fi | ||
18 | |||
19 | - if test $gl_func_getloadavg_done = no; then | ||
20 | - # There is a commonly available library for RS/6000 AIX. | ||
21 | - # Since it is not a standard part of AIX, it might be installed locally. | ||
22 | - gl_getloadavg_LIBS=$LIBS | ||
23 | - LIBS="-L/usr/local/lib $LIBS" | ||
24 | - AC_CHECK_LIB([getloadavg], [getloadavg], | ||
25 | - [LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes], | ||
26 | - [LIBS=$gl_getloadavg_LIBS]) | ||
27 | - fi | ||
28 | - | ||
29 | # Set up the replacement function if necessary. | ||
30 | if test $gl_func_getloadavg_done = no; then | ||
31 | HAVE_GETLOADAVG=0 | ||