aboutsummaryrefslogtreecommitdiff
path: root/www/w3m
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-10-29 02:35:22 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-10-29 02:35:22 +0000
commit1b73abb75e6b79f5abe437793d378706c0064457 (patch)
tree566b5e2a18919887f8e9804b857c67fc642e5782 /www/w3m
parent676071dc99e5a4043c3560b30952ca8e45430e5e (diff)
downloadports-1b73abb75e6b79f5abe437793d378706c0064457.tar.gz
ports-1b73abb75e6b79f5abe437793d378706c0064457.zip
Notes
Diffstat (limited to 'www/w3m')
-rw-r--r--www/w3m/files/patch-indep.c11
-rw-r--r--www/w3m/files/patch-indep.h11
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);