diff options
author | kris <kris@FreeBSD.org> | 2002-04-01 11:34:32 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-04-01 11:34:32 +0800 |
commit | 6e6f71e38c40d8b37a4152eb8f52e932beb84cc0 (patch) | |
tree | f0030f488bfae0563012ca8a4fd61703da1f26b3 /irc/sic | |
parent | 88fa35ca563edb5a9201e59b2c66c1ed7a882e5b (diff) | |
download | freebsd-ports-gnome-6e6f71e38c40d8b37a4152eb8f52e932beb84cc0.tar.gz freebsd-ports-gnome-6e6f71e38c40d8b37a4152eb8f52e932beb84cc0.tar.zst freebsd-ports-gnome-6e6f71e38c40d8b37a4152eb8f52e932beb84cc0.zip |
Remove internal strcasestr implementation to fix build.
Diffstat (limited to 'irc/sic')
-rw-r--r-- | irc/sic/files/patch-aa | 10 | ||||
-rw-r--r-- | irc/sic/files/patch-ab | 28 |
2 files changed, 38 insertions, 0 deletions
diff --git a/irc/sic/files/patch-aa b/irc/sic/files/patch-aa new file mode 100644 index 000000000000..c2d9922594aa --- /dev/null +++ b/irc/sic/files/patch-aa @@ -0,0 +1,10 @@ +--- utils.h.orig Sun Mar 31 19:33:07 2002 ++++ utils.h Sun Mar 31 19:33:11 2002 +@@ -7,7 +7,6 @@ + #ifndef _utils_h_ + #define _utils_h_ + +-extern char * strcasestr(const char *, const char *); + extern int rmatch(const char *, const char *); + extern char * my_cftime(char *, const int len, const char *, const time_t); + extern char * my_strftime(char *, const int len, const char *); diff --git a/irc/sic/files/patch-ab b/irc/sic/files/patch-ab new file mode 100644 index 000000000000..5985ab50b7e6 --- /dev/null +++ b/irc/sic/files/patch-ab @@ -0,0 +1,28 @@ +--- utils.c.orig Sun Mar 31 19:32:45 2002 ++++ utils.c Sun Mar 31 19:32:55 2002 +@@ -12,25 +12,6 @@ + + #include "os.h" + +-/* strcasestr: case insensitive version of strstr() */ +-char * +-strcasestr(s1, s2) +- char *s1, *s2; +-{ +- int len; +- +- assert( s1 && s2 ); +- +- len = strlen(s2); +- while (*s1) +- { +- if (!strncasecmp(s1, s2, len)) +- return s1; +- s1++; +- } +- return NULL; +-} +- + /* match: some lame version + * returns 0 if no match. + */ |