diff options
Diffstat (limited to 'www/w3m/patches/patch-al')
-rw-r--r-- | www/w3m/patches/patch-al | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/www/w3m/patches/patch-al b/www/w3m/patches/patch-al deleted file mode 100644 index 5a2aadc37a1..00000000000 --- a/www/w3m/patches/patch-al +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-al,v 1.1 2011/04/05 05:55:29 uebayasi Exp $ - -http://gnats.netbsd.org/42400 - -this patch adds support for single quoted meta refresh parameters, which is -needed to access GMail with w3m. - -from: Paul Boekholt ( boekholt ) - 2008-09-06 06:54 -support single quoted meta refresh parameter - ID: 2096461 -http://sourceforge.net/tracker/?func=detail&aid=2096461&group_id=39518&atid=425441 - ---- file.c.orig 2011-01-04 09:22:21.000000000 +0000 -+++ file.c -@@ -4284,15 +4284,15 @@ getMetaRefreshParam(char *q, Str *refres - while (*q) { - if (!strncasecmp(q, "url=", 4)) { - q += 4; -- if (*q == '\"') /* " */ -+ if (*q == '\"' || *q == '\'') /* " or ' */ - q++; - r = q; - while (*r && !IS_SPACE(*r) && *r != ';') - r++; - s_tmp = Strnew_charp_n(q, r - q); - -- if (s_tmp->ptr[s_tmp->length - 1] == '\"') { /* " -- */ -+ if (s_tmp->ptr[s_tmp->length - 1] == '\"' || /* " */ -+ s_tmp->ptr[s_tmp->length - 1] == '\'') { /* ' */ - s_tmp->length--; - s_tmp->ptr[s_tmp->length] = '\0'; - } |