summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch')
-rw-r--r--meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch67
1 files changed, 0 insertions, 67 deletions
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch b/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch
deleted file mode 100644
index 054054b521..0000000000
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1--- man-1.6e.orig/src/makewhatis.sh 2006-07-19 01:58:08.000000000 -0300
2+++ man-1.6e/src/makewhatis.sh 2007-05-18 10:54:57.000000000 -0300
3@@ -124,7 +124,7 @@
4 continue;;
5 -s) setsections=1
6 continue;;
7- -u) findarg="-ctime 0"
8+ -u) findarg="-newer /var/cache/man/whatis"
9 update=1
10 continue;;
11 -v) verbose=1
12@@ -165,14 +165,7 @@
13 # first truncate all the whatis files that will be created new,
14 # then only update - we might visit the same directory twice
15 if [ x$update = x ]; then
16- for pages in man cat
17- do
18- eval path="\$$pages"path
19- for mandir in $path
20- do
21- cp /dev/null $mandir/whatis
22- done
23- done
24+ cp /dev/null /var/cache/man/whatis
25 fi
26
27 for pages in man cat
28@@ -184,11 +177,6 @@
29 if [ x$verbose != x ]; then
30 echo "about to enter $mandir" > /dev/stderr
31 fi
32- if [ -s ${mandir}/whatis -a $pages = man -a x$update = x ]; then
33- if [ x$verbose != x ]; then
34- echo skipping $mandir - we did it already > /dev/stderr
35- fi
36- else
37 here=`pwd`
38 cd $mandir
39 for i in $sections
40@@ -407,23 +395,14 @@
41
42 cd $here
43
44- # kludge for Slackware's /usr/man/preformat
45- if [ $mandir = /usr/man/preformat ]
46- then
47- mandir1=/usr/man
48- else
49- mandir1=$mandir
50- fi
51-
52- if [ -f ${mandir1}/whatis ]
53+ if [ -f /var/cache/man/whatis ]
54 then
55- cat ${mandir1}/whatis >> $TMPFILE
56+ cat /var/cache/man/whatis >> $TMPFILE
57 fi
58- tr -s '\n' < $TMPFILE | sort -u > ${mandir1}/whatis
59+ tr -s '\n' < $TMPFILE | sort -u > /var/cache/man/whatis
60
61- chmod 644 ${mandir1}/whatis
62+ chmod 644 /var/cache/man/whatis
63 rm $TMPFILE
64- fi
65 done
66 done
67