diff options
author | schwarz <schwarz> | 2005-11-28 20:47:29 +0000 |
---|---|---|
committer | schwarz <schwarz> | 2005-11-28 20:47:29 +0000 |
commit | 09a8005034db03335c155395591bfb9e089b5e56 (patch) | |
tree | 629739f537a57c7604daef2f9b20b67beffc88ea /pkgtools | |
parent | a3281f8a13f9ab745912305de49ac33a1b7fb651 (diff) | |
download | pkgsrc-09a8005034db03335c155395591bfb9e089b5e56.tar.gz |
added support for systems such as IRIX 5 that do not have _POSIX2_RE_DUP_MAX
defined. Changes approved by grant.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/libnbcompat/files/README | 8 | ||||
-rw-r--r-- | pkgtools/libnbcompat/files/private/utils.h | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/pkgtools/libnbcompat/files/README b/pkgtools/libnbcompat/files/README index a62564152ba..5c2b65d7115 100644 --- a/pkgtools/libnbcompat/files/README +++ b/pkgtools/libnbcompat/files/README @@ -1,4 +1,4 @@ -$NetBSD: README,v 1.11 2004/09/11 19:01:40 jlam Exp $ +$NetBSD: README,v 1.12 2005/11/28 20:47:29 schwarz Exp $ 0 Introduction ============== @@ -51,6 +51,12 @@ on the following operating systems: NetBSD-1.6.2/i386 <jlam@NetBSD.org> Solaris 9/sparc <salo@NetBSD.org> +libnbcompat-20041024 has been tested to build and install correctly +on the following operating systems: + + Darwin-8.3/powerpc <schwarz@NetBSD.org> + IRIX-5.3/mipseb <schwarz@NetBSD.org> + Linux/i386 <schwarz@NetBSD.org> 3 Usage ======= diff --git a/pkgtools/libnbcompat/files/private/utils.h b/pkgtools/libnbcompat/files/private/utils.h index 0f359753c86..2e1a0696082 100644 --- a/pkgtools/libnbcompat/files/private/utils.h +++ b/pkgtools/libnbcompat/files/private/utils.h @@ -1,4 +1,4 @@ -/* $NetBSD: utils.h,v 1.1 2004/08/23 03:32:13 jlam Exp $ */ +/* $NetBSD: utils.h,v 1.2 2005/11/28 20:47:29 schwarz Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -72,7 +72,11 @@ */ /* utility definitions */ +#ifdef _POSIX2_RE_DUP_MAX #define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */ +#else +#define DUPMAX 255 /* xxx is that reasonable? */ +#endif #define INFINITY (DUPMAX + 1) #define NC (CHAR_MAX - CHAR_MIN + 1) typedef unsigned char uch; |