aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-10-09 15:24:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-10-09 15:24:43 +0000
commit265a43e434b8057578aa760f671fe05fecba3d6d (patch)
tree28e6ad238776f93f2374a762ae537fb4e67ee913 /ftp
parent7c38a96ed80ac1c73bb62bd90254ac34840d85be (diff)
downloadports-265a43e434b8057578aa760f671fe05fecba3d6d.tar.gz
ports-265a43e434b8057578aa760f671fe05fecba3d6d.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/curl/Makefile2
-rw-r--r--ftp/curl/files/patch-lib-asyn-thread.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index 8bcdc0ef13c6..a418c201985c 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -3,7 +3,7 @@
PORTNAME= curl
PORTVERSION= 7.38.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp www
MASTER_SITES= http://curl.haxx.se/download/ \
LOCAL/sunpoet
diff --git a/ftp/curl/files/patch-lib-asyn-thread.c b/ftp/curl/files/patch-lib-asyn-thread.c
new file mode 100644
index 000000000000..22a9023fda55
--- /dev/null
+++ b/ftp/curl/files/patch-lib-asyn-thread.c
@@ -0,0 +1,11 @@
+--- lib/asyn-thread.c.orig 2014-09-08 05:15:44.000000000 +0800
++++ lib/asyn-thread.c 2014-10-09 08:28:38.036235206 +0800
+@@ -541,7 +541,7 @@
+ td->poll_interval = 250;
+
+ td->interval_end = elapsed + td->poll_interval;
+- Curl_expire_latest(conn->data, td->poll_interval);
++ Curl_expire(conn->data, td->poll_interval);
+ }
+
+ return CURLE_OK;