diff options
author | pat <pat@FreeBSD.org> | 2002-01-30 04:24:47 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-01-30 04:24:47 +0800 |
commit | 443d664ccdd0c6a2a5a41b1adb519996a1709995 (patch) | |
tree | 7fd573fd00c85343b895f5051e1b9e90e6e14e24 /www | |
parent | c2651ee704dccb6d0a69bf0b70c4f677ec708446 (diff) | |
download | freebsd-ports-gnome-443d664ccdd0c6a2a5a41b1adb519996a1709995.tar.gz freebsd-ports-gnome-443d664ccdd0c6a2a5a41b1adb519996a1709995.tar.zst freebsd-ports-gnome-443d664ccdd0c6a2a5a41b1adb519996a1709995.zip |
Fix strcasestr conflict
PR: 34415
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Diffstat (limited to 'www')
-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 |