summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat/files/strmode.c
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-16 17:24:42 +0000
committerjlam <jlam@pkgsrc.org>2004-08-16 17:24:42 +0000
commit80739d5835e2a4685b632b6bcdff6b71a94c0770 (patch)
tree94ccf316b23097db9bd5c7350071934329efea45 /pkgtools/libnbcompat/files/strmode.c
parente3a30640243dec8b146b92d717b2dfb25c26b740 (diff)
downloadpkgsrc-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/strmode.c')
-rw-r--r--pkgtools/libnbcompat/files/strmode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/libnbcompat/files/strmode.c b/pkgtools/libnbcompat/files/strmode.c
index 44052464182..f187e5e48a7 100644
--- a/pkgtools/libnbcompat/files/strmode.c
+++ b/pkgtools/libnbcompat/files/strmode.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strmode.c,v 1.3 2003/09/01 15:31:21 jlam Exp $ */
+/* $NetBSD: strmode.c,v 1.4 2004/08/16 17:24:56 jlam Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -39,11 +39,11 @@
#if 0
static char sccsid[] = "@(#)strmode.c 8.3 (Berkeley) 8/15/94";
#else
-__RCSID("$NetBSD: strmode.c,v 1.3 2003/09/01 15:31:21 jlam Exp $");
+__RCSID("$NetBSD: strmode.c,v 1.4 2004/08/16 17:24:56 jlam Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
-#include "namespace.h"
+/* #include "namespace.h" */
#include <sys/types.h>
#include <sys/stat.h>