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/b7df4192610b
branches:  trunk
changeset: 953076:b7df4192610b
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 250565877d81 -r b7df4192610b 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