summaryrefslogtreecommitdiff
path: root/mail/autorespond/files/patch-autorespond.c
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2002-02-22 09:39:21 +0000
committerPeter Pentchev <roam@FreeBSD.org>2002-02-22 09:39:21 +0000
commit36062ffe27e716f4b1a082f49b9666628b11e84c (patch)
treef1a8f05e82a5534f1ac11e568094ed12ea31a90a /mail/autorespond/files/patch-autorespond.c
parent- Update to version 3.02 (diff)
Make the strcasestr() definition conditional on OSVERSION.
Respect CFLAGS by patching them into the program Makefile. No longer override the do-build target, let make(1) do its thing. No PORTREVISION bump for the strcasestr() fix - this port simply did not build at all on systems of olde :( Reported by: <root@lab.simerson.net>
Notes
Notes: svn path=/head/; revision=55079
Diffstat (limited to 'mail/autorespond/files/patch-autorespond.c')
-rw-r--r--mail/autorespond/files/patch-autorespond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/autorespond/files/patch-autorespond.c b/mail/autorespond/files/patch-autorespond.c
index 1dc4a73a97fd..b4c74f42c468 100644
--- a/mail/autorespond/files/patch-autorespond.c
+++ b/mail/autorespond/files/patch-autorespond.c
@@ -4,7 +4,7 @@
/*********************************************************
** find string in string - ignore case **/
-+/*
++#ifdef NEED_STRCASESTR
char *strcasestr( char *_s1, char *_s2 )
{
char *s1;
@@ -13,7 +13,7 @@
return _s1 + (ptr - s1);
}
-
-+*/
++#endif