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/statvfs.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/statvfs.c')
-rw-r--r-- | pkgtools/libnbcompat/files/statvfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/statvfs.c b/pkgtools/libnbcompat/files/statvfs.c index 7dcca106825..76fdb9833a0 100644 --- a/pkgtools/libnbcompat/files/statvfs.c +++ b/pkgtools/libnbcompat/files/statvfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: statvfs.c,v 1.1 2004/08/06 16:55:09 jlam Exp $ */ +/* $NetBSD: statvfs.c,v 1.2 2004/08/16 17:24:56 jlam Exp $ */ /*- * Copyright (c) 2004 The NetBSD Foundation, Inc. @@ -36,9 +36,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#if HAVE_CONFIG_H #include "nbcompat/nbconfig.h" -#endif #if HAVE_STRING_H #include <string.h> /* memcpy() */ |