diff options
author | sf <sf@FreeBSD.org> | 2001-12-17 13:17:24 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-12-17 13:17:24 +0800 |
commit | 520243675feafe0002ff748062441efebc446255 (patch) | |
tree | 335b89560de0b9203ef5d1815a1c1482754d7b9a /ftp/wget/files | |
parent | bb1d24e2f0da34a504e62cc2e19645bbd15b3107 (diff) | |
download | freebsd-ports-gnome-520243675feafe0002ff748062441efebc446255.tar.gz freebsd-ports-gnome-520243675feafe0002ff748062441efebc446255.tar.zst freebsd-ports-gnome-520243675feafe0002ff748062441efebc446255.zip |
update to 1.8.
IPv6 capability has been lost. Please use wget+ipv6 instead.
as zh_TW.po is distributed in Big5, we no longer requires iconv hack.
zh_TW message tested by: clive
Diffstat (limited to 'ftp/wget/files')
-rw-r--r-- | ftp/wget/files/patch-host.c | 11 | ||||
-rw-r--r-- | ftp/wget/files/patch-retr.c | 21 |
2 files changed, 0 insertions, 32 deletions
diff --git a/ftp/wget/files/patch-host.c b/ftp/wget/files/patch-host.c deleted file mode 100644 index 9495ff9ec250..000000000000 --- a/ftp/wget/files/patch-host.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/host.c.orig Thu Aug 9 10:11:56 2001 -+++ src/host.c Thu Aug 9 10:12:27 2001 -@@ -106,7 +106,7 @@ - - hp = gethostbyname2(name, af); - if (!hp) { -- if (inet_pton(af, name, addr) != -1) { -+ if (inet_pton(af, name, addr) == 1) { - switch (af) { - case AF_INET: - socksize = sizeof (struct sockaddr_in); diff --git a/ftp/wget/files/patch-retr.c b/ftp/wget/files/patch-retr.c deleted file mode 100644 index dac6d57d6591..000000000000 --- a/ftp/wget/files/patch-retr.c +++ /dev/null @@ -1,21 +0,0 @@ ---- src/retr.c.orig Wed Feb 9 00:18:45 2000 -+++ src/retr.c Wed Feb 9 00:18:51 2000 -@@ -445,7 +445,7 @@ - recursive_reset (); - for (cur_url = url_list; cur_url; cur_url = cur_url->next, ++*count) - { -- char *filename, *new_file; -+ char *filename, *new_file, *referer; - int dt; - - if (opt.quota && opt.downloaded > opt.quota) -@@ -453,7 +453,8 @@ - status = QUOTEXC; - break; - } -- status = retrieve_url (cur_url->url, &filename, &new_file, NULL, &dt); -+ referer = getenv("referer"); -+ status = retrieve_url (cur_url->url, &filename, &new_file, referer, &dt); - if (opt.recursive && status == RETROK && (dt & TEXTHTML)) - status = recursive_retrieve (filename, new_file ? new_file : cur_url->url); - |