diff options
Diffstat (limited to 'gnu/packages/patches/coreutils-dummy-man.patch')
-rw-r--r-- | gnu/packages/patches/coreutils-dummy-man.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/patches/coreutils-dummy-man.patch b/gnu/packages/patches/coreutils-dummy-man.patch new file mode 100644 index 0000000000..f6a6a31002 --- /dev/null +++ b/gnu/packages/patches/coreutils-dummy-man.patch @@ -0,0 +1,21 @@ +Patch adapted from <http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/coreutils/coreutils-8.22/fix-for-dummy-man-usage.patch>. + +Fix for 'dummy-man' usage, when cross-compiling. + +The options should be before the final argument, otherwise, the following error +would appear when compiling: + + dummy-man: too many non-option arguments + +--- coreutils-8.22/Makefile.in 2013-12-13 16:20:00.000000000 +0100 ++++ coreutils-8.22/Makefile.in 2014-02-28 10:53:27.000000000 +0100 +@@ -9977,8 +9977,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' \ |