summaryrefslogtreecommitdiff
path: root/mail/clamsmtp/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'mail/clamsmtp/patches/patch-ac')
-rw-r--r--mail/clamsmtp/patches/patch-ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/clamsmtp/patches/patch-ac b/mail/clamsmtp/patches/patch-ac
new file mode 100644
index 00000000000..6bdff8259a7
--- /dev/null
+++ b/mail/clamsmtp/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2008/01/09 14:10:06 martti Exp $
+
+Check for strcasestr. We provide an implementation for it if needed.
+
+--- configure.in.orig 2007-12-31 12:16:35.544370000 +0200
++++ configure.in 2007-12-31 12:34:53.195760000 +0200
+@@ -106,7 +106,7 @@
+ # Required Functions
+ AC_CHECK_FUNCS([memset strerror malloc realloc getopt strchr tolower getaddrinfo], ,
+ [echo "ERROR: Required function missing"; exit 1])
+-AC_CHECK_FUNCS([strlwr strlcat strlcpy strncat strncpy setenv daemon])
++AC_CHECK_FUNCS([strlwr strlcat strlcpy strncat strncpy setenv daemon strcasestr])
+ AC_CHECK_FUNCS([getline getdelim flockfile])
+
+ # DMALLOC memory debugging