summaryrefslogtreecommitdiffstats
path: root/package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch')
-rw-r--r--package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch b/package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch
new file mode 100644
index 0000000000..960501eb2d
--- /dev/null
+++ b/package/coreutils/coreutils-01-fix-for-dummy-man-usage.patch
@@ -0,0 +1,25 @@
+Upstream-Status: Pending
+
+coreutils: fix for dummy-man usage
+
+The options should be before the final argument, otherwise, the following error
+would appear when compiling.
+
+"dummy-man: too many non-option arguments"
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+[Gustavo: update for 8.23]
+
+diff -Nura coreutils-8.23.orig/man/local.mk coreutils-8.23/man/local.mk
+--- coreutils-8.23.orig/man/local.mk 2014-10-24 16:52:29.720555852 -0300
++++ coreutils-8.23/man/local.mk 2014-10-24 16:52:59.381391498 -0300
+@@ -101,8 +101,8 @@
+ && $(run_help2man) \
+ --source='$(PACKAGE_STRING)' \
+ --include=$(srcdir)/man/$$name.x \
+- --output=$$t/$$name.1 $$t/$$argv \
+ --info-page='coreutils \(aq'$$name' invocation\(aq' \
++ --output=$$t/$$name.1 $$t/$$argv \
+ && sed \
+ -e 's|$*\.td/||g' \
+ -e '/For complete documentation/d' \
OpenPOWER on IntegriCloud