Module Name: src
Committed By: aymeric
Date: Mon Feb 29 22:19:29 UTC 2016
Modified Files:
src/tools/compat: Makefile
Added Files:
src/tools/compat: regex.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/tools/compat/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/compat/regex.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/compat/Makefile
diff -u src/tools/compat/Makefile:1.77 src/tools/compat/Makefile:1.78
--- src/tools/compat/Makefile:1.77 Sat Jan 9 17:40:37 2016
+++ src/tools/compat/Makefile Mon Feb 29 22:19:29 2016
@@ -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
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}
${.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 \
Added files:
Index: src/tools/compat/regex.h
diff -u /dev/null src/tools/compat/regex.h:1.1
--- /dev/null Mon Feb 29 22:19:29 2016
+++ src/tools/compat/regex.h Mon Feb 29 22:19:29 2016
@@ -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"