960501eb2d0349816ee45b066b7a9452ce38d964
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / coreutils / 0001-fix-for-dummy-man-usage.patch
1 Upstream-Status: Pending
2
3 coreutils: fix for dummy-man usage
4
5 The options should be before the final argument, otherwise, the following error
6 would appear when compiling.
7
8 "dummy-man: too many non-option arguments"
9
10 Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
11 [Gustavo: update for 8.23]
12
13 diff -Nura coreutils-8.23.orig/man/local.mk coreutils-8.23/man/local.mk
14 --- coreutils-8.23.orig/man/local.mk    2014-10-24 16:52:29.720555852 -0300
15 +++ coreutils-8.23/man/local.mk 2014-10-24 16:52:59.381391498 -0300
16 @@ -101,8 +101,8 @@
17           && $(run_help2man)                                            \
18                      --source='$(PACKAGE_STRING)'                       \
19                      --include=$(srcdir)/man/$$name.x                   \
20 -                    --output=$$t/$$name.1 $$t/$$argv                   \
21                      --info-page='coreutils \(aq'$$name' invocation\(aq' \
22 +                    --output=$$t/$$name.1 $$t/$$argv                   \
23           && sed \
24                -e 's|$*\.td/||g' \
25                -e '/For complete documentation/d' \