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/c704a5dc3839
branches:  trunk
changeset: 343942:c704a5dc3839
user:      aymeric <aymeric%NetBSD.org@localhost>
date:      Sun Mar 06 10:19:01 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.

Full release tested on ArchLinux and NetBSD 7.0_STABLE

diffstat:

 tools/compat/Makefile |  4 +++-
 tools/compat/regex.h  |  3 +++
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 8445bd834e8c -r c704a5dc3839 tools/compat/Makefile
--- a/tools/compat/Makefile     Sun Mar 06 09:39:42 2016 +0000
+++ b/tools/compat/Makefile     Sun Mar 06 10:19:01 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.80 2016/03/01 10:09:00 martin Exp $
+#      $NetBSD: Makefile,v 1.81 2016/03/06 10:19:01 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 \
                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 8445bd834e8c -r c704a5dc3839 tools/compat/regex.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/regex.h      Sun Mar 06 10:19:01 2016 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: regex.h,v 1.3 2016/03/06 10:22:59 aymeric Exp $ */
+
+#include "../../include/regex.h"



Home | Main Index | Thread Index | Old Index