Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/nsd nsd: Some library functions require _NETBSD_SO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7a648b35099a
branches:  trunk
changeset: 433031:7a648b35099a
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sat May 30 08:45:58 2020 +0000

description:
nsd: Some library functions require _NETBSD_SOURCE on NetBSD

diffstat:

 net/nsd/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 70df649ce5e5 -r 7a648b35099a net/nsd/Makefile
--- a/net/nsd/Makefile  Sat May 30 08:22:59 2020 +0000
+++ b/net/nsd/Makefile  Sat May 30 08:45:58 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.111 2020/04/30 07:42:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.112 2020/05/30 08:45:58 ryoon Exp $
 
 DISTNAME=      nsd-4.3.1
 CATEGORIES=    net
@@ -22,8 +22,8 @@
 USE_LIBTOOL=   yes
 
 .if ${OPSYS} == "NetBSD"
-# For reallocarray(3) on NetBSD 9
-CPPFLAGS+=     -D_OPENBSD_SOURCE
+# Some _NETBSD_SOURCE definitions are required to build.
+CPPFLAGS+=     -D_NETBSD_SOURCE
 .endif
 
 GNU_CONFIGURE= yes



Home | Main Index | Thread Index | Old Index