diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-16 17:24:42 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-16 17:24:42 +0000 |
commit | 80739d5835e2a4685b632b6bcdff6b71a94c0770 (patch) | |
tree | 94ccf316b23097db9bd5c7350071934329efea45 /pkgtools/libnbcompat/files/setenv.c | |
parent | e3a30640243dec8b146b92d717b2dfb25c26b740 (diff) | |
download | pkgsrc-80739d5835e2a4685b632b6bcdff6b71a94c0770.tar.gz |
Update pkgtools/libnbcompat to 20040814. Changes from version 20040813
include:
* Adding a regex(3) implementation for those platforms that don't
have one, e.g. IRIX 5.3.
* Allow nbcompat.h to be included multiple times in case it's needed
to override values of set by config.h in bootstrap packages. This
should fix problems with building pkg_install and pax on platforms
that have /usr/include/glob.h.
* Remove namespace.h, which should be a no-op since we're building
a userland library separate from the NetBSD sources.
* Remove HAVE_CONFIG_H checks from sources since we're always going
to have and and we're always going to be including it.
* Rename all inclusion guards in nbcompat/*.h to be _NBCOMPAT_*_H_ so
that it won't get triggered by any settings in system headers.
This has been tested on:
FreeBSD-4.8/i386 Debian Linux 3.0 (woody)
IRIX 6.5 MacOS X 10.2.8
MacOS X 10.3.5 NetBSD-1.6.2/i386
NetBSD-2.0_BETA/i386 Red Hat Linux 7.3
Solaris 7/sparc Solaris 8/sparc
Solaris 9/sparc
Diffstat (limited to 'pkgtools/libnbcompat/files/setenv.c')
-rw-r--r-- | pkgtools/libnbcompat/files/setenv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgtools/libnbcompat/files/setenv.c b/pkgtools/libnbcompat/files/setenv.c index 84598ab6314..3fb64f8b6c7 100644 --- a/pkgtools/libnbcompat/files/setenv.c +++ b/pkgtools/libnbcompat/files/setenv.c @@ -1,4 +1,4 @@ -/* $NetBSD: setenv.c,v 1.8 2003/12/05 15:43:10 erh Exp $ */ +/* $NetBSD: setenv.c,v 1.9 2004/08/16 17:24:56 jlam Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. @@ -31,12 +31,10 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)setenv.c 5.6 (Berkeley) 6/4/91";*/ -static char *rcsid = "$Id: setenv.c,v 1.8 2003/12/05 15:43:10 erh Exp $"; +static char *rcsid = "$Id: setenv.c,v 1.9 2004/08/16 17:24:56 jlam Exp $"; #endif /* LIBC_SCCS and not lint */ -#if HAVE_CONFIG_H #include "nbcompat/nbconfig.h" -#endif #if HAVE_STRINGS_H #include <strings.h> |