add our libc's regex implementation to libnbcompat.
This way, nbsed picks it up and it unbreaks the build of xf86-video-intel-old's man page under Linux and probably other future changes which rightfully expect the (net)bsd behaviour.
This commit is contained in:
parent
904c2b2729
commit
90b3c9835b
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.77 2016/01/09 17:40:37 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.78 2016/02/29 22:19:29 aymeric Exp $
|
||||
|
||||
HOSTLIB= nbcompat
|
||||
|
||||
@ -14,6 +14,7 @@ SRCS= atoll.c basename.c cdbr.c cdbw.c dirname.c \
|
||||
mkstemp.c pread.c putc_unlocked.c pwcache.c pwrite.c \
|
||||
pw_scan.c \
|
||||
raise_default_signal.c reallocarr.c rmd160.c rmd160hl.c \
|
||||
regcomp.c regerror.c regexec.c regfree.c regsub.c \
|
||||
setenv.c setgroupent.c \
|
||||
setpassent.c setprogname.c sha1.c sha1hl.c sha2.c \
|
||||
sha256hl.c sha384hl.c sha512hl.c snprintb.c snprintf.c \
|
||||
@ -47,6 +48,7 @@ CPPFLAGS+= -I. -I./include -I${.CURDIR} -I${.CURDIR}/sys \
|
||||
${.CURDIR}/../../lib/libc/hash/sha1 \
|
||||
${.CURDIR}/../../lib/libc/hash/sha2 \
|
||||
${.CURDIR}/../../lib/libc/md \
|
||||
${.CURDIR}/../../lib/libc/regex \
|
||||
${.CURDIR}/../../lib/libc/stdio \
|
||||
${.CURDIR}/../../lib/libc/stdlib \
|
||||
${.CURDIR}/../../lib/libc/string \
|
||||
|
4
tools/compat/regex.h
Normal file
4
tools/compat/regex.h
Normal file
@ -0,0 +1,4 @@
|
||||
/* $NetBSD: regex.h,v 1.1 2016/02/29 22:19:29 aymeric Exp $ */
|
||||
|
||||
#include "nbtool_config.h"
|
||||
#include "../../include/regex.h"
|
Loading…
Reference in New Issue
Block a user