Module Name:    src
Committed By:   kamil
Date:           Thu Aug 15 08:30:19 UTC 2019

Modified Files:
        src/usr.sbin/ypserv/ypserv: Makefile

Log Message:
Avoid symbol clashes in usr.sbin/ypserv/ypserv under MKSANITIZER

Remove symbol conflicts for: gethostbyname2


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/ypserv/ypserv/Makefile

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

Modified files:

Index: src/usr.sbin/ypserv/ypserv/Makefile
diff -u src/usr.sbin/ypserv/ypserv/Makefile:1.18 src/usr.sbin/ypserv/ypserv/Makefile:1.19
--- src/usr.sbin/ypserv/ypserv/Makefile:1.18	Thu Oct 29 14:41:02 2009
+++ src/usr.sbin/ypserv/ypserv/Makefile	Thu Aug 15 08:30:19 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2009/10/29 14:41:02 christos Exp $
+#	$NetBSD: Makefile,v 1.19 2019/08/15 08:30:19 kamil Exp $
 
 .include <bsd.own.mk>
 
@@ -18,4 +18,6 @@ DPADD+=	${LIBWRAP} ${LIBUTIL}
 CPPFLAGS.gethnamaddr.c=	-UYP -D_LIBC
 CPPFLAGS.getnetnamadr.c=-UYP -D_LIBC
 
+SANITIZER_RENAME_SYMBOL+=	gethostbyname2
+
 .include <bsd.prog.mk>

Reply via email to