Source-Changes-HG archive

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

[src/trunk]: src/tools/mandoc Expose re{c, }allocarray decls in current.



details:   https://anonhg.NetBSD.org/src/rev/75b84ef88c93
branches:  trunk
changeset: 834527:75b84ef88c93
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 15 14:31:22 2018 +0000

description:
Expose re{c,}allocarray decls in current.

diffstat:

 tools/mandoc/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4ba6bf107dc7 -r 75b84ef88c93 tools/mandoc/Makefile
--- a/tools/mandoc/Makefile     Wed Aug 15 13:54:54 2018 +0000
+++ b/tools/mandoc/Makefile     Wed Aug 15 14:31:22 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2018/05/01 19:59:47 christos Exp $
+#      $NetBSD: Makefile,v 1.14 2018/08/15 14:31:22 christos Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}mandoc
 HOST_SRCDIR=   external/bsd/mdocml/bin/mandoc
@@ -9,6 +9,7 @@
 NETBSD_OSNAME= "NetBSD ${NETBSD_MINOR}"
 
 HOST_CPPFLAGS+=        -DOSNAME=${NETBSD_OSNAME:Q} -DHAVE_CONFIG_H -I.
+HOST_CPPFLAGS+= -D_OPENBSD_SOURCE
 
 DPSRCS+=       config.h
 



Home | Main Index | Thread Index | Old Index