diff options
Diffstat (limited to 'meta/recipes-core/coreutils/coreutils-8.21')
3 files changed, 81 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-8.21/coreutils-build-with-acl.patch b/meta/recipes-core/coreutils/coreutils-8.21/coreutils-build-with-acl.patch new file mode 100644 index 0000000000..8273d78eb3 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-8.21/coreutils-build-with-acl.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | Fix the following issue so that coreutils can build with ACL: | ||
4 | |||
5 | configure: WARNING: libacl development library was not found or not usable. | ||
6 | configure: WARNING: GNU coreutils will be built without ACL support. | ||
7 | |||
8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
9 | --- | ||
10 | m4/acl.m4 | 2 +- | ||
11 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/m4/acl.m4 b/m4/acl.m4 | ||
14 | index d6a448a..a9d4836 100644 | ||
15 | --- a/m4/acl.m4 | ||
16 | +++ b/m4/acl.m4 | ||
17 | @@ -159,7 +159,7 @@ AC_DEFUN([gl_ACL_GET_FILE], | ||
18 | ]])], | ||
19 | [gl_cv_func_working_acl_get_file=yes], | ||
20 | [gl_cv_func_working_acl_get_file=no], | ||
21 | - [gl_cv_func_working_acl_get_file=cross-compiling])]) | ||
22 | + [gl_cv_func_working_acl_get_file=yes])]) | ||
23 | |||
24 | AS_IF([test $gl_cv_func_working_acl_get_file = yes], [$1], [$2]) | ||
25 | ]) | ||
26 | -- | ||
27 | 1.7.7 | ||
28 | |||
diff --git a/meta/recipes-core/coreutils/coreutils-8.21/dummy_help2man.patch b/meta/recipes-core/coreutils/coreutils-8.21/dummy_help2man.patch new file mode 100644 index 0000000000..4757f52aa0 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-8.21/dummy_help2man.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Upstream-Status: Inappropriate [disable feature] | ||
2 | |||
3 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
4 | diff -Nurd coreutils-8.21/man/local.mk coreutils-8.21/man/local.mk | ||
5 | --- coreutils-8.21/man/local.mk 2013-02-05 16:01:21.000000000 +0200 | ||
6 | +++ coreutils-8.21/man/local.mk 2013-03-23 09:12:53.360470192 +0200 | ||
7 | @@ -19,11 +19,11 @@ | ||
8 | EXTRA_DIST += man/help2man man/dummy-man | ||
9 | |||
10 | ## Graceful degradation for systems lacking perl. | ||
11 | -if HAVE_PERL | ||
12 | -run_help2man = $(PERL) -- $(srcdir)/man/help2man | ||
13 | -else | ||
14 | +#if HAVE_PERL | ||
15 | +#run_help2man = $(PERL) -- $(srcdir)/man/help2man | ||
16 | +#else | ||
17 | run_help2man = $(SHELL) $(srcdir)/man/dummy-man | ||
18 | -endif | ||
19 | +#endif | ||
20 | |||
21 | man1_MANS = @man1_MANS@ | ||
22 | EXTRA_DIST += $(man1_MANS:.1=.x) | ||
diff --git a/meta/recipes-core/coreutils/coreutils-8.21/remove-usr-local-lib-from-m4.patch b/meta/recipes-core/coreutils/coreutils-8.21/remove-usr-local-lib-from-m4.patch new file mode 100644 index 0000000000..2ef8a548ac --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-8.21/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 | ||