diff options
author | kris <kris@FreeBSD.org> | 2002-04-01 11:55:43 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-04-01 11:55:43 +0800 |
commit | 226249bb7f7947035e7e569fc7bd8e4fb80d3858 (patch) | |
tree | e132f1ef1e94a4460fae8e0754228a73e839733e /comms/mwavem | |
parent | a582bfea92488922aebe3f4de1be10c1357d4d65 (diff) | |
download | freebsd-ports-gnome-226249bb7f7947035e7e569fc7bd8e4fb80d3858.tar.gz freebsd-ports-gnome-226249bb7f7947035e7e569fc7bd8e4fb80d3858.tar.zst freebsd-ports-gnome-226249bb7f7947035e7e569fc7bd8e4fb80d3858.zip |
Remove internal strcasestr implementation. Port still broken on -current
due to kernel changes.
Diffstat (limited to 'comms/mwavem')
-rw-r--r-- | comms/mwavem/files/patch-aa | 23 |
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); + |