pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files added support for systems s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/efc0f3142d21
branches: trunk
changeset: 503754:efc0f3142d21
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Mon Nov 28 20:47:29 2005 +0000
description:
added support for systems such as IRIX 5 that do not have _POSIX2_RE_DUP_MAX
defined. Changes approved by grant.
diffstat:
pkgtools/libnbcompat/files/README | 8 +++++++-
pkgtools/libnbcompat/files/private/utils.h | 6 +++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 2eb1936ff5cc -r efc0f3142d21 pkgtools/libnbcompat/files/README
--- a/pkgtools/libnbcompat/files/README Mon Nov 28 20:17:27 2005 +0000
+++ b/pkgtools/libnbcompat/files/README Mon Nov 28 20:47:29 2005 +0000
@@ -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 @@
NetBSD-1.6.2/i386 <jlam%NetBSD.org@localhost>
Solaris 9/sparc <salo%NetBSD.org@localhost>
+libnbcompat-20041024 has been tested to build and install correctly
+on the following operating systems:
+
+ Darwin-8.3/powerpc <schwarz%NetBSD.org@localhost>
+ IRIX-5.3/mipseb <schwarz%NetBSD.org@localhost>
+ Linux/i386 <schwarz%NetBSD.org@localhost>
3 Usage
=======
diff -r 2eb1936ff5cc -r efc0f3142d21 pkgtools/libnbcompat/files/private/utils.h
--- a/pkgtools/libnbcompat/files/private/utils.h Mon Nov 28 20:17:27 2005 +0000
+++ b/pkgtools/libnbcompat/files/private/utils.h Mon Nov 28 20:47:29 2005 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index