From f1e4bfafe7e460a7b8862e6cb8fc81809d3a3899 Mon Sep 17 00:00:00 2001 From: kamil Date: Mon, 25 Jun 2018 18:01:13 +0000 Subject: [PATCH] Specify SANITIZER_RENAME_SYMBOL in diffutils Rename local versions of regcomp regerror regexec regfree in order to remove symbol clash with libc. --- external/gpl2/diffutils/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/gpl2/diffutils/Makefile.inc b/external/gpl2/diffutils/Makefile.inc index 9e4083286718..ccf8fe6d167b 100644 --- a/external/gpl2/diffutils/Makefile.inc +++ b/external/gpl2/diffutils/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.1 2016/01/13 03:39:28 christos Exp $ +# $NetBSD: Makefile.inc,v 1.2 2018/06/25 18:01:13 kamil Exp $ WARNS= 0 @@ -6,3 +6,5 @@ IDIST= ${NETBSDSRCDIR}/external/gpl2/diffutils/dist CPPFLAGS+= -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H \ -I${IDIST}/../include -I${IDIST}/lib + +SANITIZER_RENAME_SYMBOL+= regcomp regerror regexec regfree