diff options
Diffstat (limited to 'meta/recipes-extended/man/man/man-1.6e-ro_usr.patch')
-rw-r--r-- | meta/recipes-extended/man/man/man-1.6e-ro_usr.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-extended/man/man/man-1.6e-ro_usr.patch b/meta/recipes-extended/man/man/man-1.6e-ro_usr.patch new file mode 100644 index 0000000000..1d1cb0c724 --- /dev/null +++ b/meta/recipes-extended/man/man/man-1.6e-ro_usr.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
4 | |||
5 | Index: man-1.6f/src/makewhatis.sh | ||
6 | =================================================================== | ||
7 | --- man-1.6f.orig/src/makewhatis.sh 2010-12-29 13:42:34.000000000 -0800 | ||
8 | +++ man-1.6f/src/makewhatis.sh 2010-12-29 13:42:35.667428347 -0800 | ||
9 | @@ -124,7 +124,7 @@ | ||
10 | continue;; | ||
11 | -s) setsections=1 | ||
12 | continue;; | ||
13 | - -u) findarg="-ctime 0" | ||
14 | + -u) findarg="-newer /var/cache/man/whatis" | ||
15 | update=1 | ||
16 | continue;; | ||
17 | -v) verbose=1 | ||
18 | @@ -165,14 +165,7 @@ | ||
19 | # first truncate all the whatis files that will be created new, | ||
20 | # then only update - we might visit the same directory twice | ||
21 | if [ x$update = x ]; then | ||
22 | - for pages in man cat | ||
23 | - do | ||
24 | - eval path="\$$pages"path | ||
25 | - for mandir in $path | ||
26 | - do | ||
27 | - cp /dev/null $mandir/whatis | ||
28 | - done | ||
29 | - done | ||
30 | + cp /dev/null /var/cache/man/whatis | ||
31 | fi | ||
32 | |||
33 | for pages in man cat | ||