aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
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;