Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/ypserv/ypserv Avoid symbol clashes in usr.sbin/ypse...



details:   https://anonhg.NetBSD.org/src/rev/6fe11b04676f
branches:  trunk
changeset: 458890:6fe11b04676f
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Aug 15 08:30:19 2019 +0000

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

Remove symbol conflicts for: gethostbyname2

diffstat:

 usr.sbin/ypserv/ypserv/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r b6b9cb8d2739 -r 6fe11b04676f usr.sbin/ypserv/ypserv/Makefile
--- a/usr.sbin/ypserv/ypserv/Makefile   Thu Aug 15 08:24:11 2019 +0000
+++ b/usr.sbin/ypserv/ypserv/Makefile   Thu Aug 15 08:30:19 2019 +0000
@@ -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 @@
 CPPFLAGS.gethnamaddr.c=        -UYP -D_LIBC
 CPPFLAGS.getnetnamadr.c=-UYP -D_LIBC
 
+SANITIZER_RENAME_SYMBOL+=      gethostbyname2
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index