aports/main/mdocml/outdated-warn-disable.patch
Paul Bredbury f0fb5efa99 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
2019-03-13 08:27:45 +00:00

13 lines
346 B
Diff

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;