diff options
| author | Paul Bredbury <brebs@sent.com> | 2019-03-10 17:56:55 +0000 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-03-13 08:27:45 +0000 |
| commit | f0fb5efa99225b1196ca7ee48fd4ae8d9b0a9d2a (patch) | |
| tree | 0a2bb8144188891945cfafe0e5fe6e68918cbd13 /main/mdocml/outdated-warn-disable.patch | |
| parent | 7279437ec7311315af9c10b05c200e16008ec2aa (diff) | |
| download | aports-f0fb5efa99225b1196ca7ee48fd4ae8d9b0a9d2a.tar.bz2 aports-f0fb5efa99225b1196ca7ee48fd4ae8d9b0a9d2a.tar.xz | |
main/mdocml: silence makewhatis outdated moan
Since the mdocml-apropos package (which provides makewhatis) is not pulled in by default, and isn't needed, then stop moaning about it being missing.
Silences e.g.:
$ man neomutt
man: outdated mandoc.db lacks neomutt(1) entry, run makewhatis /usr/share/man
Diffstat (limited to 'main/mdocml/outdated-warn-disable.patch')
| -rw-r--r-- | main/mdocml/outdated-warn-disable.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/mdocml/outdated-warn-disable.patch b/main/mdocml/outdated-warn-disable.patch new file mode 100644 index 0000000000..f960de7d1d --- /dev/null +++ b/main/mdocml/outdated-warn-disable.patch @@ -0,0 +1,12 @@ +diff -Naur a/main.c b/main.c +--- a/main.c 2019-03-03 15:24:23.600767518 +0000 ++++ b/main.c 2019-03-03 15:27:37.609820365 +0000 +@@ -676,8 +676,6 @@ + return globres != -1; + + found: +- warnx("outdated mandoc.db lacks %s(%s) entry, run %s %s", +- name, sec, BINM_MAKEWHATIS, paths->paths[ipath]); + if (res == NULL) { + free(file); + return 1; |
