summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2010-12-29 22:32:25 -0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-30 12:06:52 +0000
commit8494db74786307d44169bee4f21dc0efa1643f70 (patch)
treee98730fc6ed3c971fb5bfd6e8e96b5ef035ddc93 /meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch
parentc0e6d3ea6a819d5f776d861a8336b18cfab5f316 (diff)
downloadopenembedded-core-8494db74786307d44169bee4f21dc0efa1643f70.tar.gz
openembedded-core-8494db74786307d44169bee4f21dc0efa1643f70.tar.bz2
openembedded-core-8494db74786307d44169bee4f21dc0efa1643f70.tar.xz
openembedded-core-8494db74786307d44169bee4f21dc0efa1643f70.zip
man: updated to 1.6f, fixed patches
Rebased patches for 1.6f: - lzma - modified for xz support - ro_usr & whatis2 fixed up Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch')
-rw-r--r--meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch b/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch
deleted file mode 100644
index 180d4a317..000000000
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- man-1.6e-ro_usr/src/makewhatis.sh 2007-05-18 11:41:50.000000000 -0300
-+++ man-1.6e/src/makewhatis.sh 2007-05-18 13:27:16.000000000 -0300
-@@ -162,10 +162,15 @@
- fi
- catpath=`echo ${catpath} | tr : ' '`
-
-+#WHATIS_DIR=$DESTDIR/var/cache/man/`echo $here|sed -e 's!.*/man/!!g'`
-+WHATIS_DIR=$DESTDIR/var/cache/man/$LANG
-+[[ -d $WHATIS_DIR ]] || mkdir -p $WHATIS_DIR/
-+
- # first truncate all the whatis files that will be created new,
- # then only update - we might visit the same directory twice
- if [ x$update = x ]; then
-- cp /dev/null /var/cache/man/whatis
-+ mkdir -p $WHATIS_DIR/
-+ /bin/echo -n > $WHATIS_DIR/whatis
- fi
-
- for pages in man cat
-@@ -395,13 +400,13 @@
-
- cd $here
-
-- if [ -f /var/cache/man/whatis ]
-+ if [ -f $WHATIS_DIR/whatis ]
- then
-- cat /var/cache/man/whatis >> $TMPFILE
-+ cat $WHATIS_DIR/whatis >> $TMPFILE
- fi
-- tr -s '\n' < $TMPFILE | sort -u > /var/cache/man/whatis
-+ tr -s '\n' < $TMPFILE | sort -u > $WHATIS_DIR/whatis
-
-- chmod 644 /var/cache/man/whatis
-+ chmod 644 $WHATIS_DIR/whatis
- rm $TMPFILE
- done
- done