From 443d664ccdd0c6a2a5a41b1adb519996a1709995 Mon Sep 17 00:00:00 2001 From: pat Date: Tue, 29 Jan 2002 20:24:47 +0000 Subject: Fix strcasestr conflict PR: 34415 Submitted by: Miguel Mendez --- .../files/patch-Library::Implementation::HTString.c | 19 +++++++++++++++++++ .../files/patch-Library::Implementation::HTString.h | 11 +++++++++++ 2 files changed, 30 insertions(+) create mode 100644 www/arena/files/patch-Library::Implementation::HTString.c create mode 100644 www/arena/files/patch-Library::Implementation::HTString.h (limited to 'www') 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 -- cgit