summaryrefslogtreecommitdiffstats
path: root/japanese/mimekit
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-04-01 03:39:55 +0000
committerkris <kris@FreeBSD.org>2002-04-01 03:39:55 +0000
commita582bfea92488922aebe3f4de1be10c1357d4d65 (patch)
treea6eead35a36e688a44e41cc0b39cbc2c3f523b53 /japanese/mimekit
parente5fae8b7353961e48646ed91297cf35baa1eee6e (diff)
downloadFreeBSD-ports-a582bfea92488922aebe3f4de1be10c1357d4d65.zip
FreeBSD-ports-a582bfea92488922aebe3f4de1be10c1357d4d65.tar.gz
Remove internal strcasestr implementation to fix build.
Diffstat (limited to 'japanese/mimekit')
-rw-r--r--japanese/mimekit/files/patch-ab10
-rw-r--r--japanese/mimekit/files/patch-ac25
2 files changed, 35 insertions, 0 deletions
diff --git a/japanese/mimekit/files/patch-ab b/japanese/mimekit/files/patch-ab
new file mode 100644
index 0000000..08f4468
--- /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 0000000..995fbd2
--- /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;
+ {
OpenPOWER on IntegriCloud