diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-01-29 20:24:47 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-01-29 20:24:47 +0000 |
commit | 5aeb2ebd5955cd5542a8230c9739816d6a846df0 (patch) | |
tree | 57c2de08281aabf3d46eb7dc4699cd85d66c5a6a /www/arena | |
parent | remove unnecessary depends and fix manpage list (diff) |
Fix strcasestr conflict
PR: 34415
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Notes
Notes:
svn path=/head/; revision=53985
Diffstat (limited to 'www/arena')
-rw-r--r-- | www/arena/files/patch-Library::Implementation::HTString.c | 19 | ||||
-rw-r--r-- | www/arena/files/patch-Library::Implementation::HTString.h | 11 |
2 files changed, 30 insertions, 0 deletions
diff --git a/www/arena/files/patch-Library::Implementation::HTString.c b/www/arena/files/patch-Library::Implementation::HTString.c new file mode 100644 index 000000000000..c884868f621c --- /dev/null +++ b/www/arena/files/patch-Library::Implementation::HTString.c @@ -0,0 +1,19 @@ +--- Library/Implementation/HTString.c.orig Tue Jan 29 18:10:31 2002 ++++ Library/Implementation/HTString.c Tue Jan 29 18:11:09 2002 +@@ -65,6 +65,7 @@ + /* + ** strcasestr(s1,s2) -- like strstr(s1,s2) but case-insensitive. + */ ++#ifndef __FreeBSD__ + PUBLIC char * strcasestr (char * s1, char * s2) + { + char * ptr = s1; +@@ -85,7 +86,7 @@ + } + return NULL; + } +- ++#endif + + + /* Allocate a new copy of a string, and returns it diff --git a/www/arena/files/patch-Library::Implementation::HTString.h b/www/arena/files/patch-Library::Implementation::HTString.h new file mode 100644 index 000000000000..f46a5326a240 --- /dev/null +++ b/www/arena/files/patch-Library::Implementation::HTString.h @@ -0,0 +1,11 @@ +--- Library/Implementation/HTString.h.orig Tue Jan 29 18:11:15 2002 ++++ Library/Implementation/HTString.h Tue Jan 29 18:11:47 2002 +@@ -68,7 +68,7 @@ + This works like strstr() but is not case-sensitive. + + */ +-extern char * strcasestr (char * s1, char * s2); ++// extern char * strcasestr (char * s1, char * s2); + /* + + Strip white space off a string |