From a582bfea92488922aebe3f4de1be10c1357d4d65 Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 1 Apr 2002 03:39:55 +0000 Subject: Remove internal strcasestr implementation to fix build. --- japanese/mimekit/files/patch-ab | 10 ++++++++++ japanese/mimekit/files/patch-ac | 25 +++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 japanese/mimekit/files/patch-ab create mode 100644 japanese/mimekit/files/patch-ac (limited to 'japanese') diff --git a/japanese/mimekit/files/patch-ab b/japanese/mimekit/files/patch-ab new file mode 100644 index 000000000000..08f44682f562 --- /dev/null +++ b/japanese/mimekit/files/patch-ab @@ -0,0 +1,10 @@ +--- ../include/ystring.h.orig Sun Mar 31 19:40:13 2002 ++++ ../include/ystring.h Sun Mar 31 19:40:18 2002 +@@ -18,7 +18,6 @@ + /* + * non-standard + */ +-extern char *strcasestr(); + extern char *strrpbrk(); + extern char *stralloc(); + extern char *strtail(); diff --git a/japanese/mimekit/files/patch-ac b/japanese/mimekit/files/patch-ac new file mode 100644 index 000000000000..995fbd298c0d --- /dev/null +++ b/japanese/mimekit/files/patch-ac @@ -0,0 +1,25 @@ +--- ../rary/String.c.orig Sun Mar 31 19:39:46 2002 ++++ ../rary/String.c Sun Mar 31 19:40:03 2002 +@@ -72,22 +72,6 @@ + return strncasecmp(a,b,n) == 0; + } + +-char * +-strcasestr(s1,s2) +- char *s1,*s2; +-{ char *p1; +- int len; +- +- if( *s2 == 0 ) +- return s1; +- +- len = strlen(s2); +- for( p1 = s1; *p1; p1 ++ ) +- if( toupper(*p1) == toupper(*s2) ) +- if( strncasecmp(p1,s2,len)==0 ) +- return p1; +- return 0; +-} + char *strtoupper(s1,s2) + char *s1,*s2; + { -- cgit