Module Name:    src
Committed By:   wiz
Date:           Tue Mar 17 22:03:41 UTC 2020

Modified Files:
        src/external/bsd/mdocml/dist: main.c

Log Message:
mdocml: Comment out non-applicable warning.

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/mdocml/dist/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/mdocml/dist/main.c
diff -u src/external/bsd/mdocml/dist/main.c:1.7 src/external/bsd/mdocml/dist/main.c:1.8
--- src/external/bsd/mdocml/dist/main.c:1.7	Mon Mar 11 17:59:28 2019
+++ src/external/bsd/mdocml/dist/main.c	Tue Mar 17 22:03:41 2020
@@ -750,8 +750,10 @@ fs_lookup(const struct manpaths *paths, 
 	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;

Reply via email to