Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/dist mdocml: Comment out non-applicable ...



details:   https://anonhg.NetBSD.org/src/rev/a421ec3bb439
branches:  trunk
changeset: 970249:a421ec3bb439
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Mar 17 22:03:41 2020 +0000

description:
mdocml: Comment out non-applicable warning.

We don't use makewhatis on NetBSD, we use makemandb.

diffstat:

 external/bsd/mdocml/dist/main.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 56d0fa73d616 -r a421ec3bb439 external/bsd/mdocml/dist/main.c
--- a/external/bsd/mdocml/dist/main.c   Tue Mar 17 21:28:45 2020 +0000
+++ b/external/bsd/mdocml/dist/main.c   Tue Mar 17 22:03:41 2020 +0000
@@ -750,8 +750,10 @@
        return globres != -1;
 
 found:
+#if !defined(__NetBSD__)
        warnx("outdated mandoc.db lacks %s(%s) entry, run %s %s",
            name, sec, BINM_MAKEWHATIS, paths->paths[ipath]);
+#endif
        if (res == NULL) {
                free(file);
                return 1;



Home | Main Index | Thread Index | Old Index