Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/mdocml/lib/libmandoc mandoc-validate.c cannot d...
details: https://anonhg.NetBSD.org/src/rev/e4a3e74f8ab9
branches: trunk
changeset: 365454:e4a3e74f8ab9
user: kre <kre%NetBSD.org@localhost>
date: Thu Aug 16 01:08:18 2018 +0000
description:
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)
diffstat:
external/bsd/mdocml/lib/libmandoc/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r e189f8c25694 -r e4a3e74f8ab9 external/bsd/mdocml/lib/libmandoc/Makefile
--- a/external/bsd/mdocml/lib/libmandoc/Makefile Wed Aug 15 22:07:32 2018 +0000
+++ b/external/bsd/mdocml/lib/libmandoc/Makefile Thu Aug 16 01:08:18 2018 +0000
@@ -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 @@
COPTS.mdoc_macro.c+=-O0
.endif
+COPTS.man_validate.c+=-Wno-error=array-bounds
+
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index