summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/man/man/man-1.6g-whatis3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/man/man/man-1.6g-whatis3.patch')
-rw-r--r--meta/recipes-extended/man/man/man-1.6g-whatis3.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-extended/man/man/man-1.6g-whatis3.patch b/meta/recipes-extended/man/man/man-1.6g-whatis3.patch
new file mode 100644
index 0000000000..6334456857
--- /dev/null
+++ b/meta/recipes-extended/man/man/man-1.6g-whatis3.patch
@@ -0,0 +1,20 @@
1Do not use absolute path for awk while getting the path of awk
2when running makewhatis.
3This can avoid errors if path of awk changes.
4
5Upstream-Status: Submitted [man-1.6g]
6
7Signed-off-by: Jian Liu <jian.liu@windriver.com>
8
9diff -Nur man-1.6g.orig/src/makewhatis.sh man-1.6g/src/makewhatis.sh
10--- man-1.6g.orig/src/makewhatis.sh 2015-02-25 16:13:12.657611419 +0800
11+++ man-1.6g/src/makewhatis.sh 2015-02-25 16:14:49.334694815 +0800
12@@ -67,7 +67,7 @@
13 # but that leads to problems and bugs.
14
15 # AWK=/usr/bin/gawk
16-AWK=@awk@
17+AWK=`which awk`
18
19 # Find a place for our temporary files. If security is not a concern, use
20 # TMPFILE=/tmp/whatis$$; TMPFILEDIR=none