diff options
author | sf <sf@FreeBSD.org> | 2001-10-29 10:35:22 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-10-29 10:35:22 +0800 |
commit | 2c606f766732bdba7b5406ebd4b6538e3013d4fa (patch) | |
tree | 9d6e0c3fa27e2a560b55743a284708996f03efd6 /www/w3m | |
parent | 1c57e7f33680c1ba8298ca17b839b115fea1b879 (diff) | |
download | freebsd-ports-gnome-2c606f766732bdba7b5406ebd4b6538e3013d4fa.tar.gz freebsd-ports-gnome-2c606f766732bdba7b5406ebd4b6538e3013d4fa.tar.zst freebsd-ports-gnome-2c606f766732bdba7b5406ebd4b6538e3013d4fa.zip |
fix build for -CURRENT.
PR: 31569
Submitted by: maintainer
Diffstat (limited to 'www/w3m')
-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); |