mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
Update to version 2.1.p17.
PR: 79199 Submitted by: Renato Botelho <freebsd@galle.com.br>
This commit is contained in:
parent
69316e5f6c
commit
c0b4d1f37c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133913
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user