Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/libhack Add regcomp.c and regexec.c so that we...



details:   https://anonhg.NetBSD.org/src/rev/122b09de1dd9
branches:  trunk
changeset: 959800:122b09de1dd9
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Feb 25 21:24:00 2021 +0000

description:
Add regcomp.c and regexec.c so that we get a version that does not use NLS
and brings in all the locale code.

diffstat:

 distrib/utils/libhack/Makefile.inc |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 62c036ae6ae1 -r 122b09de1dd9 distrib/utils/libhack/Makefile.inc
--- a/distrib/utils/libhack/Makefile.inc        Thu Feb 25 20:51:10 2021 +0000
+++ b/distrib/utils/libhack/Makefile.inc        Thu Feb 25 21:24:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.36 2020/04/17 14:55:24 jdolecek Exp $
+# $NetBSD: Makefile.inc,v 1.37 2021/02/25 21:24:00 christos Exp $
 #
 # Include this fragment to build libhack.o
 # It is .o and not .a to make sure these are the
@@ -25,7 +25,7 @@
                localeconv.o multibyte.o perror.o runetable.o setlocale.o \
                nl_langinfo.o strcasecmp.o \
                strerror.o strsignal.o syslog.o utmp.o fmtcheck.o \
-           aligned_alloc.o
+               aligned_alloc.o regcomp.o regexec.o
 
 .if (${USE_YP} != "no")
 HACKOBJS+=     yplib.o
@@ -78,9 +78,12 @@
        ${HACKSRC} \
        ${HACKSRC}/../../../lib/libc/gen \
        ${HACKSRC}/../../../lib/libc/locale \
+       ${HACKSRC}/../../../lib/libc/regex \
        ${HACKSRC}/../../../lib/libc/stdlib
 .else
 # XXX .PATH won't work here, because of crunchgen used by various builds
+regcomp.o:     ${HACKSRC}/../../../lib/libc/regex/regcomp.c
+regexec.o:     ${HACKSRC}/../../../lib/libc/regex/regexec.c
 getcap.o:      ${HACKSRC}/../../../lib/libc/gen/getcap.c
 getgrent.o:    ${HACKSRC}/getgrent.c
 gethost.o:     ${HACKSRC}/gethost.c



Home | Main Index | Thread Index | Old Index