From ab0888474946627251c31d4ce46e98afc116465a Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Mon, 10 Oct 2005 14:41:40 +0000 Subject: Add a small fix to support gzipped XHTML contents. Submitted by: Ed Schouten --- www/w3m/Makefile | 2 +- www/w3m/files/patch-file.c | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 www/w3m/files/patch-file.c (limited to 'www/w3m') diff --git a/www/w3m/Makefile b/www/w3m/Makefile index b92e53f0782b..4f3d7a0acd4c 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -7,7 +7,7 @@ PORTNAME= w3m PORTVERSION= ${W3M_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES+= www ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/www/w3m/files/patch-file.c b/www/w3m/files/patch-file.c new file mode 100644 index 000000000000..957e32f09c93 --- /dev/null +++ b/www/w3m/files/patch-file.c @@ -0,0 +1,12 @@ +--- file.c Sun Oct 9 22:12:16 2005 ++++ file.c Sun Oct 9 22:11:10 2005 +@@ -262,7 +262,8 @@ + { + return (type == NULL || type[0] == '\0' || + strncasecmp(type, "text/", 5) == 0 || +- strncasecmp(type, "message/", sizeof("message/") - 1) == 0); ++ strncasecmp(type, "message/", sizeof("message/") - 1) == 0 || ++ IS_HTML(type)); + } + + static int -- cgit v1.2.3