View | Details | Raw Unified | Return to bug 79199
Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	links
8
PORTNAME=	links
9
PORTVERSION=	2.1.p15
9
PORTVERSION=	2.1.p17
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES?=	www
11
CATEGORIES?=	www
12
MASTER_SITES=	http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
12
MASTER_SITES=	http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
13
DISTNAME=	${PORTNAME}-2.1pre15
13
DISTNAME=	${PORTNAME}-2.1pre17
14
14
15
MAINTAINER?=	demon@FreeBSD.org
15
MAINTAINER?=	demon@FreeBSD.org
16
COMMENT=	Lynx-like text WWW browser
16
COMMENT=	Lynx-like text WWW browser
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (links-2.1pre15.tar.bz2) = d70a0ad41fba921f04d222d3546827de
1
MD5 (links-2.1pre17.tar.bz2) = 94315d9ba68bbb543d93b3b3b4f07582
2
SIZE (links-2.1pre15.tar.bz2) = 3789080
2
SIZE (links-2.1pre17.tar.bz2) = 3829168
(-)files/patch-types.c (-6 / +6 lines)
Lines 1-12 Link Here
1
--- types.c.orig	Sat Mar  1 19:06:39 2003
1
--- types.c.orig	Thu Mar 24 10:36:47 2005
2
+++ types.c	Sat Mar  1 19:07:45 2003
2
+++ types.c	Thu Mar 24 10:38:12 2005
3
@@ -705,7 +705,8 @@
3
@@ -796,7 +796,8 @@
4
 		if (*ct == '.') ext = ct + 1;
4
 		if (*ct == '.') ext = ct + 1;
5
 		else if (dir_sep(*ct)) ext = NULL;
5
 		else if (dir_sep(*ct)) ext = NULL;
6
 	if (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(ext[extl])) extl++;
6
 	if (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++;
7
-	if ((extl == 3 && !casecmp(ext, "htm", 3)) ||
7
-	if ((extl == 3 && !casecmp(ext, "htm", 3)) ||
8
+	if (force_html ||
8
+	if (force_html ||
9
+	    (extl == 3 && !casecmp(ext, "htm", 3)) ||
9
+	    (extl == 3 && !casecmp(ext, "htm", 3)) ||
10
 	    (extl == 4 && !casecmp(ext, "html", 4))) return stracpy("text/html");
10
 	    (extl == 4 && !casecmp(ext, "html", 4))) return stracpy("text/html");
11
 	foreach(e, extensions) if (is_in_list(e->ext, ext, extl)) return stracpy(e->ct);
11
 	foreach(e, extensions) {
12
 
12
 		unsigned char *fname = NULL;

Return to bug 79199