diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-02-22 00:43:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-02-22 00:43:50 +0100 |
commit | 3bb33e24bb495d78e6be663b5763245a1d63bc90 (patch) | |
tree | 3fbdfd2e648848a26722e9f17a1f33b9478db74e | |
parent | b7db387be3c4f920719e717b6961158434f17624 (diff) | |
download | patches-3bb33e24bb495d78e6be663b5763245a1d63bc90.tar patches-3bb33e24bb495d78e6be663b5763245a1d63bc90.tar.gz |
gnu: coreutils: Attempt to really fix cross-compilation.
* gnu/packages/patches/coreutils-dummy-man.patch: Directly take the
patch from <http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/coreutils/coreutils-8.22/fix-for-dummy-man-usage.patch>.
-rw-r--r-- | gnu/packages/patches/coreutils-dummy-man.patch | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/gnu/packages/patches/coreutils-dummy-man.patch b/gnu/packages/patches/coreutils-dummy-man.patch index 6c43389994..b07a92ccf0 100644 --- a/gnu/packages/patches/coreutils-dummy-man.patch +++ b/gnu/packages/patches/coreutils-dummy-man.patch @@ -1,17 +1,28 @@ -Coreutils commit b3578fc9ffe70b9466687f9f6470a85f1a0ab14f. +Patch from <http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/coreutils/coreutils-8.22/fix-for-dummy-man-usage.patch>. - * man/dummy-man: Recognize the option --info-page=... as no-op. +Fix for 'dummy-man' usage, when cross-compiling. -This fixes "dummy-man: too many non-option arguments" when -cross-compiling. +The options should be before the final argument, otherwise, the following error +would appear when compiling: ---- a/man/dummy-man -+++ b/man/dummy-man -@@ -30,6 +30,7 @@ while test $# -gt 0; do - # in the makefile. - --include=*);; - --include) shift;; -+ --info-page=*);; - -*) fatal_ "invalid or unrecognized help2man option '$1'";; - --) shift; break;; - *) break;; + dummy-man: too many non-option arguments + +Signed-off-by: Chen Qi <Qi.Chen@windriver.com> +--- + man/local.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/man/local.mk b/man/local.mk +index 7cef5e3..dc0865f 100644 +--- a/man/local.mk ++++ b/man/local.mk +@@ -189,8 +189,8 @@ man/yes.1: src/yes + && $(run_help2man) \ + --source='$(PACKAGE_STRING)' \ + --include=$(srcdir)/man/$$name.x \ +- --output=$$t/$$name.1 $$t/$$name \ + --info-page='coreutils \(aq'$$name' invocation\(aq' \ ++ --output=$$t/$$name.1 $$t/$$name \ + && sed \ + -e 's|$*\.td/||g' \ + -e '/For complete documentation/d' \ |