Module Name: src Committed By: kre Date: Thu Aug 16 01:08:18 UTC 2018
Modified Files: src/external/bsd/mdocml/lib/libmandoc: Makefile Log Message: mandoc-validate.c cannot deal with -Werror=array-bounds so disable it. The code could probably be redone to not need this, but this is the simple fix (and requires no upstream co-ordination) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/mdocml/lib/libmandoc/Makefile 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/lib/libmandoc/Makefile diff -u src/external/bsd/mdocml/lib/libmandoc/Makefile:1.9 src/external/bsd/mdocml/lib/libmandoc/Makefile:1.10 --- src/external/bsd/mdocml/lib/libmandoc/Makefile:1.9 Tue Aug 14 08:53:06 2018 +++ src/external/bsd/mdocml/lib/libmandoc/Makefile Thu Aug 16 01:08:18 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2018/08/14 08:53:06 christos Exp $ +# $NetBSD: Makefile,v 1.10 2018/08/16 01:08:18 kre Exp $ LIBISPRIVATE= yes @@ -40,4 +40,6 @@ MAN= mandoc.3 COPTS.mdoc_macro.c+=-O0 .endif +COPTS.man_validate.c+=-Wno-error=array-bounds + .include <bsd.lib.mk>