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