Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat add our libc's regex implementation to libnbcom...
details: https://anonhg.NetBSD.org/src/rev/b0468cd462e2
branches: trunk
changeset: 343888:b0468cd462e2
user: aymeric <aymeric%NetBSD.org@localhost>
date: Mon Feb 29 22:19:29 2016 +0000
description:
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.
diffstat:
tools/compat/Makefile | 4 +++-
tools/compat/regex.h | 4 ++++
2 files changed, 7 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r d0e07a63789e -r b0468cd462e2 tools/compat/Makefile
--- a/tools/compat/Makefile Mon Feb 29 22:10:13 2016 +0000
+++ b/tools/compat/Makefile Mon Feb 29 22:19:29 2016 +0000
@@ -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 @@
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 @@
${.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 \
diff -r d0e07a63789e -r b0468cd462e2 tools/compat/regex.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/regex.h Mon Feb 29 22:19:29 2016 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index