summaryrefslogtreecommitdiff
path: root/comms/mwavem
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-04-01 03:55:43 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-04-01 03:55:43 +0000
commit1cf986230dca0a66b5c560dd582eba4a35763ee1 (patch)
treedce87713dcd04ffcd4721fc7f47e1d068f3c80d0 /comms/mwavem
parentRemove internal strcasestr implementation to fix build. (diff)
Remove internal strcasestr implementation. Port still broken on -current
due to kernel changes.
Notes
Notes: svn path=/head/; revision=57109
Diffstat (limited to 'comms/mwavem')
-rw-r--r--comms/mwavem/files/patch-aa23
1 files changed, 23 insertions, 0 deletions
diff --git a/comms/mwavem/files/patch-aa b/comms/mwavem/files/patch-aa
new file mode 100644
index 000000000000..beac3ad08f55
--- /dev/null
+++ b/comms/mwavem/files/patch-aa
@@ -0,0 +1,23 @@
+--- src/mwmutil/mwmutil.c.orig Sun Mar 31 19:49:06 2002
++++ src/mwmutil/mwmutil.c Sun Mar 31 19:49:52 2002
+@@ -62,20 +62,6 @@
+ static int fileSize=0;
+ static char file[0x10000];
+
+-static char * strcasestr (const char *big, const char *little)
+-{
+-char * p;
+-
+-p = big;
+-while (*p)
+- {
+- if (strncasecmp (p, little, strlen (little)) == 0)
+- return p;
+- p++;
+- }
+-return 0;
+-}
+-
+ int readFile(LPCTSTR lpFileName);
+ char *getKey(LPCTSTR lpKeyName, LPCTSTR lpSectionName, LPCTSTR lpFileName);
+