From 402b5dfc5ea1d81941abb8d162e5ffe8c0008b6d Mon Sep 17 00:00:00 2001 From: sketch Date: Wed, 8 Sep 2004 13:09:54 +0000 Subject: Fix build on systems with strcasestr(3). There was already an autoconf test for it, but the result was never used. --- mail/hypermail/distinfo | 3 ++- mail/hypermail/patches/patch-ad | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 mail/hypermail/patches/patch-ad (limited to 'mail/hypermail') diff --git a/mail/hypermail/distinfo b/mail/hypermail/distinfo index 20159e0a76c..b50c410e533 100644 --- a/mail/hypermail/distinfo +++ b/mail/hypermail/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2004/06/17 12:54:49 grant Exp $ +$NetBSD: distinfo,v 1.5 2004/09/08 13:09:54 sketch Exp $ SHA1 (hypermail-2.1.7.tar.gz) = cf30d00e662e4906e00946b2a4808103f22c347a Size (hypermail-2.1.7.tar.gz) = 990553 bytes SHA1 (patch-aa) = c67e4a22cddee828d2c2039f1e4ca2a667ce48b8 SHA1 (patch-ab) = 39283ed784c607f614d10ec5db49a49fa23aeaf8 SHA1 (patch-ac) = 86509290456d71642f0f202d504ebcd65922785a +SHA1 (patch-ad) = 19a1ff838d5b61029c4bdc88998cdd56f891e9d6 diff --git a/mail/hypermail/patches/patch-ad b/mail/hypermail/patches/patch-ad new file mode 100644 index 00000000000..02d2ee662a5 --- /dev/null +++ b/mail/hypermail/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.1 2004/09/08 13:09:54 sketch Exp $ + +--- src/proto.h.orig 2004-09-08 14:03:21.000000000 +0100 ++++ src/proto.h 2004-09-08 14:03:36.000000000 +0100 +@@ -97,7 +97,9 @@ + char *strsav(const char *); + char *strreplace(char *, char *); + void strcpymax(char *, const char *, int); ++#ifndef HAVE_STRCASESTR + char *strcasestr(char *, const char *); ++#endif + char *stripzone(char *); + int numstrchr(char *, char); + char *getvalue(char *); -- cgit v1.2.3