From 1b73abb75e6b79f5abe437793d378706c0064457 Mon Sep 17 00:00:00 2001 From: FUJISHIMA Satsuki Date: Mon, 29 Oct 2001 02:35:22 +0000 Subject: fix build for -CURRENT. PR: 31569 Submitted by: maintainer --- www/w3m/files/patch-indep.c | 11 +++++++++++ www/w3m/files/patch-indep.h | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 www/w3m/files/patch-indep.c create mode 100644 www/w3m/files/patch-indep.h (limited to 'www/w3m') diff --git a/www/w3m/files/patch-indep.c b/www/w3m/files/patch-indep.c new file mode 100644 index 000000000000..ebd135d10ddb --- /dev/null +++ b/www/w3m/files/patch-indep.c @@ -0,0 +1,11 @@ +--- indep.c.orig Mon Oct 29 09:52:32 2001 ++++ indep.c Mon Oct 29 09:52:37 2001 +@@ -181,7 +181,7 @@ + + /* string search using the simplest algorithm */ + char * +-strcasestr(char *s1, char *s2) ++strcasestr(const char *s1, const char *s2) + { + int len1, len2; + len1 = strlen(s1); diff --git a/www/w3m/files/patch-indep.h b/www/w3m/files/patch-indep.h new file mode 100644 index 000000000000..609e519c31ec --- /dev/null +++ b/www/w3m/files/patch-indep.h @@ -0,0 +1,11 @@ +--- indep.h.orig Mon Oct 29 09:49:01 2001 ++++ indep.h Mon Oct 29 09:49:52 2001 +@@ -23,7 +23,7 @@ + extern char *cleanupName2(char *name, int flag); + #define cleanupName(name) cleanupName2((name), TRUE) + extern char *expandPath(char *name); +-extern char *strcasestr(char *s1, char *s2); ++extern char *strcasestr(const char *s1, const char *s2); + extern int strcasemstr(char *str, char *srch[], char **ret_ptr); + extern char *remove_space(char *str); + extern int non_null(char *s); -- cgit v1.2.3