summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorwiz <wiz>2006-02-19 00:00:22 +0000
committerwiz <wiz>2006-02-19 00:00:22 +0000
commit05e44c5ee03a0b06fc53deb54a3face8bb339470 (patch)
tree585b78c58bc38f868c9187630be352f43bcde678 /mail
parent1ce5e2c1ee890279f8bd594bbad63af11c3a5e3f (diff)
downloadpkgsrc-05e44c5ee03a0b06fc53deb54a3face8bb339470.tar.gz
Just rename strcasestr to mystrcasestr, to avoid
conflicts with builtin strcasestr on DF and NetBSD.
Diffstat (limited to 'mail')
-rw-r--r--mail/autorespond/distinfo4
-rw-r--r--mail/autorespond/patches/patch-aa37
2 files changed, 25 insertions, 16 deletions
diff --git a/mail/autorespond/distinfo b/mail/autorespond/distinfo
index 6999b297614..45cd9340e16 100644
--- a/mail/autorespond/distinfo
+++ b/mail/autorespond/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/01/08 17:55:31 joerg Exp $
+$NetBSD: distinfo,v 1.5 2006/02/19 00:00:22 wiz Exp $
SHA1 (autorespond-2.0.5.tar.gz) = 9bdd160e93e886932b7679e915d72dca90d8de6a
RMD160 (autorespond-2.0.5.tar.gz) = c86f56d02ac1f609605a4349a59b4293eff2ca15
Size (autorespond-2.0.5.tar.gz) = 9707 bytes
-SHA1 (patch-aa) = d426dbedcb0fa62dd81fc77eb6c908c55f8b3023
+SHA1 (patch-aa) = 66fe261b019a44f1a0521a54765a1636860810e6
diff --git a/mail/autorespond/patches/patch-aa b/mail/autorespond/patches/patch-aa
index 404bbc852aa..8c1b83684bf 100644
--- a/mail/autorespond/patches/patch-aa
+++ b/mail/autorespond/patches/patch-aa
@@ -1,22 +1,31 @@
-$NetBSD: patch-aa,v 1.1 2006/01/08 17:55:31 joerg Exp $
+$NetBSD: patch-aa,v 1.2 2006/02/19 00:00:22 wiz Exp $
---- autorespond.c.orig 2006-01-08 17:51:50.000000000 +0000
+--- autorespond.c.orig 2003-09-18 20:17:57.000000000 +0000
+++ autorespond.c
-@@ -372,7 +372,7 @@ void read_headers( FILE *fp )
- }
-
-
--
-+#if !defined(__DragonFly__)
+@@ -376,7 +376,7 @@ void read_headers( FILE *fp )
/*********************************************************
** find string in string - ignore case **/
-@@ -398,7 +398,7 @@ char *strcasestr( char *_s1, char *_s2 )
- else
- return _s1 + (ptr - s1);
- }
--
-+#endif
+-char *strcasestr( char *_s1, char *_s2 )
++char *mystrcasestr( char *_s1, char *_s2 )
+ {
+ char *s1;
+ char *s2;
+@@ -419,7 +419,7 @@ char *inspect_headers( char * tag, char
+ if ( ss == (char *)NULL )
+ return act_header->content;
+- if ( strcasestr( act_header->content, ss ) != (char *)NULL )
++ if ( mystrcasestr( act_header->content, ss ) != (char *)NULL )
+ return act_header->content;
+ return (char *)NULL;
+@@ -440,7 +440,7 @@ char *get_content_boundary()
+ if ( (s = inspect_headers( "Content-Type", (char *)NULL )) == (char *)NULL)
+ return (char *)NULL;
+- if ( (r = strcasestr( s, "boundary=" )) == (char *)NULL)
++ if ( (r = mystrcasestr( s, "boundary=" )) == (char *)NULL)
+ return (char *)NULL;
+
+ *(r+strlen(r)-2) = '\0'; /* delete quote at the end */