summaryrefslogtreecommitdiff
path: root/package/coreutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-21 16:22:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-21 16:22:29 +0100
commit664f0acd54623594267a7f73370c0acb145134b9 (patch)
tree47d3ade3053c5b75c205f58b645c58981a0e1dd3 /package/coreutils
parent237313074fd744fcda6a06665b10f7ae9461ed11 (diff)
update to latest stable version, fix uclibc compile, patch from http://git.buildroot.net/buildroot/tree/package/coreutils/coreutils-01-spawn-uclibc.patch
Diffstat (limited to 'package/coreutils')
-rw-r--r--package/coreutils/patches/patch-Makefile_am8
-rw-r--r--package/coreutils/patches/patch-m4_spawn_h_m418
-rw-r--r--package/coreutils/patches/patch-man_local_mk7
3 files changed, 30 insertions, 3 deletions
diff --git a/package/coreutils/patches/patch-Makefile_am b/package/coreutils/patches/patch-Makefile_am
new file mode 100644
index 000000000..7a8549921
--- /dev/null
+++ b/package/coreutils/patches/patch-Makefile_am
@@ -0,0 +1,8 @@
+--- coreutils-8.22.orig/Makefile.am 2013-12-04 15:48:30.000000000 +0100
++++ coreutils-8.22/Makefile.am 2014-02-21 16:15:49.000000000 +0100
+@@ -187,5 +187,4 @@ AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib
+ include $(top_srcdir)/lib/local.mk
+ include $(top_srcdir)/src/local.mk
+ include $(top_srcdir)/doc/local.mk
+-include $(top_srcdir)/man/local.mk
+ include $(top_srcdir)/tests/local.mk
diff --git a/package/coreutils/patches/patch-m4_spawn_h_m4 b/package/coreutils/patches/patch-m4_spawn_h_m4
new file mode 100644
index 000000000..5273ee3d3
--- /dev/null
+++ b/package/coreutils/patches/patch-m4_spawn_h_m4
@@ -0,0 +1,18 @@
+--- coreutils-8.22.orig/m4/spawn_h.m4 2013-12-04 15:53:33.000000000 +0100
++++ coreutils-8.22/m4/spawn_h.m4 2014-02-21 15:19:26.000000000 +0100
+@@ -64,7 +64,14 @@ AC_DEFUN([gl_HAVE_POSIX_SPAWN],
+ dnl once only, before all statements that occur in other macros.
+ AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
+
+- AC_CHECK_FUNCS_ONCE([posix_spawn])
++ LIB_POSIX_SPAWN=
++ AC_SUBST([LIB_POSIX_SPAWN])
++ gl_saved_libs=$LIBS
++ AC_SEARCH_LIBS([posix_spawn], [rt],
++ [test "$ac_cv_search_posix_spawn" = "none required" ||
++ LIB_POSIX_SPAWN=$ac_cv_search_posix_spawn])
++ AC_CHECK_FUNCS([posix_spawn])
++ LIBS=$gl_saved_libs
+ if test $ac_cv_func_posix_spawn != yes; then
+ HAVE_POSIX_SPAWN=0
+ fi
diff --git a/package/coreutils/patches/patch-man_local_mk b/package/coreutils/patches/patch-man_local_mk
index b8e739505..5bf9e5cc1 100644
--- a/package/coreutils/patches/patch-man_local_mk
+++ b/package/coreutils/patches/patch-man_local_mk
@@ -1,5 +1,5 @@
---- coreutils-8.21.orig/man/local.mk 2013-02-05 15:01:21.000000000 +0100
-+++ coreutils-8.21/man/local.mk 2013-11-04 20:32:38.000000000 +0100
+--- coreutils-8.22.orig/man/local.mk 2013-12-04 15:48:30.000000000 +0100
++++ coreutils-8.22/man/local.mk 2014-02-21 16:08:08.000000000 +0100
@@ -18,12 +18,7 @@
EXTRA_DIST += man/help2man man/dummy-man
@@ -8,8 +8,9 @@
-if HAVE_PERL
-run_help2man = $(PERL) -- $(srcdir)/man/help2man
-else
- run_help2man = $(SHELL) $(srcdir)/man/dummy-man
+-run_help2man = $(SHELL) $(srcdir)/man/dummy-man
-endif
++run_help2man = echo
man1_MANS = @man1_MANS@
EXTRA_DIST += $(man1_MANS:.1=.x)