Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/diffutils Specify SANITIZER_RENAME_SYMBOL in d...



details:   https://anonhg.NetBSD.org/src/rev/a335d4205692
branches:  trunk
changeset: 324263:a335d4205692
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Jun 25 18:01:13 2018 +0000

description:
Specify SANITIZER_RENAME_SYMBOL in diffutils

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.

diffstat:

 external/gpl2/diffutils/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r aafaa726aacd -r a335d4205692 external/gpl2/diffutils/Makefile.inc
--- a/external/gpl2/diffutils/Makefile.inc      Mon Jun 25 18:00:34 2018 +0000
+++ b/external/gpl2/diffutils/Makefile.inc      Mon Jun 25 18:01:13 2018 +0000
@@ -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 @@
 
 CPPFLAGS+=     -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H \
                -I${IDIST}/../include -I${IDIST}/lib
+
+SANITIZER_RENAME_SYMBOL+=      regcomp regerror regexec regfree



Home | Main Index | Thread Index | Old Index