diff options
Diffstat (limited to 'www/w3m/files')
-rw-r--r-- | www/w3m/files/patch-indep.c | 11 | ||||
-rw-r--r-- | www/w3m/files/patch-indep.h | 11 |
2 files changed, 22 insertions, 0 deletions
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); |