From cac9f213e40b3ac0a536bf4ab942544744f6053f Mon Sep 17 00:00:00 2001 From: uebayasi Date: Thu, 11 Mar 2004 01:41:49 +0000 Subject: Fix build on Red Hat 7.3. --- security/priv/distinfo | 4 ++-- security/priv/patches/patch-ab | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 security/priv/patches/patch-ab diff --git a/security/priv/distinfo b/security/priv/distinfo index 23252e81484..5e3042a4879 100644 --- a/security/priv/distinfo +++ b/security/priv/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2004/03/04 02:57:00 simonb Exp $ +$NetBSD: distinfo,v 1.5 2004/03/11 01:41:49 uebayasi Exp $ SHA1 (priv-1.0-beta2.tar.gz) = dee75baaf320c5dee112376cca0bb08a635f2806 Size (priv-1.0-beta2.tar.gz) = 34507 bytes -SHA1 (patch-aa) = 9d74ab0540fa767fa0dbe5b5672ca0c3f60d27b9 +SHA1 (patch-ab) = e6f89b30954ac9dbe0243e755287f5f8a37011bd diff --git a/security/priv/patches/patch-ab b/security/priv/patches/patch-ab new file mode 100644 index 00000000000..256c192ad2c --- /dev/null +++ b/security/priv/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1 2004/03/11 01:41:49 uebayasi Exp $ + +--- priv.h.orig Tue Jul 8 15:19:07 1997 ++++ priv.h Tue Mar 9 00:49:58 2004 +@@ -140,10 +140,10 @@ + #ifndef HAVE_STRERROR + char *strerror(int errnum); + #endif +-#ifdef HAVE_STRSPN ++#ifndef HAVE_STRSPN + size_t strspn(const char *s, const char *charset); + #endif +-#ifdef HAVE_STRTOUL ++#ifndef HAVE_STRTOUL + unsigned long strtoul(const char *nptr, char **endptr, int base); + #endif + -- cgit v1.2.3