aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2005-10-10 22:41:40 +0800
committernobutaka <nobutaka@FreeBSD.org>2005-10-10 22:41:40 +0800
commitdccdb452c7770b1958d7f725df733993be742b84 (patch)
tree41fd90143396be4624efe2e1151d355e850e8afd /www
parentc4db3c3b0a91aa6f9a22c2b8a10417a53cac7143 (diff)
downloadfreebsd-ports-gnome-dccdb452c7770b1958d7f725df733993be742b84.tar.gz
freebsd-ports-gnome-dccdb452c7770b1958d7f725df733993be742b84.tar.zst
freebsd-ports-gnome-dccdb452c7770b1958d7f725df733993be742b84.zip
Add a small fix to support gzipped XHTML contents.
Submitted by: Ed Schouten <ed@fxq.nl>
Diffstat (limited to 'www')
-rw-r--r--www/w3m/Makefile2
-rw-r--r--www/w3m/files/patch-file.c12
2 files changed, 13 insertions, 1 deletions
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