aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Bredbury <brebs@sent.com>2019-03-10 17:56:55 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-03-13 08:27:45 +0000
commitf0fb5efa99225b1196ca7ee48fd4ae8d9b0a9d2a (patch)
tree0a2bb8144188891945cfafe0e5fe6e68918cbd13
parent7279437ec7311315af9c10b05c200e16008ec2aa (diff)
downloadaports-f0fb5efa99225b1196ca7ee48fd4ae8d9b0a9d2a.tar.gz
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
-rw-r--r--main/mdocml/APKBUILD4
-rw-r--r--main/mdocml/outdated-warn-disable.patch12
2 files changed, 15 insertions, 1 deletions
diff --git a/main/mdocml/APKBUILD b/main/mdocml/APKBUILD
index 3e611574f9..896aad9b6b 100644
--- a/main/mdocml/APKBUILD
+++ b/main/mdocml/APKBUILD
@@ -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 --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;