Skip to content
Snippets Groups Projects
Commit f0fb5efa authored by Paul Bredbury's avatar Paul Bredbury Committed by Leonardo Arena
Browse files

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
parent 7279437e
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
pkgname=mdocml
_pkgname=mandoc
pkgver=1.14.3
pkgrel=1
pkgrel=2
pkgdesc="mdoc/man compiler"
url="http://mdocml.bsd.lv/"
arch="all"
......@@ -16,6 +16,7 @@ subpackages="$pkgname-doc $pkgname-dev man::noarch $pkgname-apropos $pkgname-soe
source="http://mdocml.bsd.lv/snapshots/$_pkgname-$pkgver.tar.gz
shared-libmandoc.patch
pager.patch
outdated-warn-disable.patch
mdocml-apropos.trigger
"
......@@ -78,4 +79,5 @@ soelim() {
sha512sums="cd638fbacb068fcd6191f2a4e941effc010e3ebf06a3e32847b892c2e561771d03d5bca8fbdf8434d6491f4b68df3f443e2568b79193b7342044fba476fcd30b mandoc-1.14.3.tar.gz
d127e635dfb54f9a88a28a8312f23495ec1e9356202e03ccfad1f7528f26f1cbfa7fc2c7b20c262523941d661fa7ba570a64a63c23f3e7fffc954d00bd5769c7 shared-libmandoc.patch
04947a275df99298591c2a46fb81b74c7c3fcb9f3cf8fb718cf1e32eeae5409e90a3bca89e542f8aa1b30792e837fd3d716303a636d1a3ec165fbb9529546a64 pager.patch
ced05e8b57fb9705c6d8d8570cd6b06ad187511a4c243ac2dbc34064aa164ca49e0c877160134161dcb98ebd5e61a5c23d5741f03ef95903ff56193dd07f36a1 outdated-warn-disable.patch
704bc159acfc639e10c7d505372d303cb5784c8e9eb30084236ad89978978d4ba74f3127d4597d78594b64182c47a00c011f8bb3271d2b784f03a2a411ccb1d8 mdocml-apropos.trigger"
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment