aboutsummaryrefslogtreecommitdiffstats
path: root/www/links
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2005-04-22 15:24:26 +0800
committerdemon <demon@FreeBSD.org>2005-04-22 15:24:26 +0800
commit8c2054e7cb7813949ae7261e1f1a669bed88ee11 (patch)
tree7e0002f3ef79651d74a854d7939b9af8e15775f1 /www/links
parent9d058f0349a246fb849c99eeadbc9f2f356aae05 (diff)
downloadfreebsd-ports-gnome-8c2054e7cb7813949ae7261e1f1a669bed88ee11.tar.gz
freebsd-ports-gnome-8c2054e7cb7813949ae7261e1f1a669bed88ee11.tar.zst
freebsd-ports-gnome-8c2054e7cb7813949ae7261e1f1a669bed88ee11.zip
Update to version 2.1.p17.
PR: 79199 Submitted by: Renato Botelho <freebsd@galle.com.br>
Diffstat (limited to 'www/links')
-rw-r--r--www/links/Makefile4
-rw-r--r--www/links/distinfo4
-rw-r--r--www/links/files/patch-types.c12
3 files changed, 10 insertions, 10 deletions
diff --git a/www/links/Makefile b/www/links/Makefile
index 2a93b506dbd6..379adba07739 100644
--- a/www/links/Makefile
+++ b/www/links/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= links
-PORTVERSION= 2.1.p15
+PORTVERSION= 2.1.p17
PORTEPOCH= 1
CATEGORIES?= www
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
-DISTNAME= ${PORTNAME}-2.1pre15
+DISTNAME= ${PORTNAME}-2.1pre17
MAINTAINER?= demon@FreeBSD.org
COMMENT= Lynx-like text WWW browser
diff --git a/www/links/distinfo b/www/links/distinfo
index 56ff3d38eb77..8e5667d6058c 100644
--- a/www/links/distinfo
+++ b/www/links/distinfo
@@ -1,2 +1,2 @@
-MD5 (links-2.1pre15.tar.bz2) = d70a0ad41fba921f04d222d3546827de
-SIZE (links-2.1pre15.tar.bz2) = 3789080
+MD5 (links-2.1pre17.tar.bz2) = 94315d9ba68bbb543d93b3b3b4f07582
+SIZE (links-2.1pre17.tar.bz2) = 3829168
diff --git a/www/links/files/patch-types.c b/www/links/files/patch-types.c
index 0633d8a866e8..b0feba5dcce9 100644
--- a/www/links/files/patch-types.c
+++ b/www/links/files/patch-types.c
@@ -1,12 +1,12 @@
---- types.c.orig Sat Mar 1 19:06:39 2003
-+++ types.c Sat Mar 1 19:07:45 2003
-@@ -705,7 +705,8 @@
+--- types.c.orig Thu Mar 24 10:36:47 2005
++++ types.c Thu Mar 24 10:38:12 2005
+@@ -796,7 +796,8 @@
if (*ct == '.') ext = ct + 1;
else if (dir_sep(*ct)) ext = NULL;
- if (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(ext[extl])) extl++;
+ if (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++;
- if ((extl == 3 && !casecmp(ext, "htm", 3)) ||
+ if (force_html ||
+ (extl == 3 && !casecmp(ext, "htm", 3)) ||
(extl == 4 && !casecmp(ext, "html", 4))) return stracpy("text/html");
- foreach(e, extensions) if (is_in_list(e->ext, ext, extl)) return stracpy(e->ct);
-
+ foreach(e, extensions) {
+ unsigned char *fname = NULL;