Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/grep Specify SANITIZER_RENAME_SYMBOL in grep



details:   https://anonhg.NetBSD.org/src/rev/a7515f711861
branches:  trunk
changeset: 324264:a7515f711861
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Jun 25 18:02:49 2018 +0000

description:
Specify SANITIZER_RENAME_SYMBOL in grep

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

diffstat:

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

diffs (14 lines):

diff -r a335d4205692 -r a7515f711861 external/gpl2/grep/Makefile.inc
--- a/external/gpl2/grep/Makefile.inc   Mon Jun 25 18:01:13 2018 +0000
+++ b/external/gpl2/grep/Makefile.inc   Mon Jun 25 18:02:49 2018 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.1 2016/01/10 22:16:40 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2018/06/25 18:02:49 kamil Exp $
 
 .include <bsd.own.mk>
 
+SANITIZER_RENAME_SYMBOL+=      regcomp regerror regexec regfree
+
 WARNS= 0
 
 IDIST= ${NETBSDSRCDIR}/external/gpl2/grep/dist



Home | Main Index | Thread Index | Old Index