aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-10-09 23:24:43 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-10-09 23:24:43 +0800
commita4bc9306322d6c6d0b0807fd1ba48f4f5e0eb6dd (patch)
tree28e6ad238776f93f2374a762ae537fb4e67ee913
parent747f2f035ac1b6b25fa0552aece8f5a8abd18de0 (diff)
downloadfreebsd-ports-gnome-a4bc9306322d6c6d0b0807fd1ba48f4f5e0eb6dd.tar.gz
freebsd-ports-gnome-a4bc9306322d6c6d0b0807fd1ba48f4f5e0eb6dd.tar.zst
freebsd-ports-gnome-a4bc9306322d6c6d0b0807fd1ba48f4f5e0eb6dd.zip
- Fix threaded-resolver
- Bump PORTREVISION for package change PR: ports/193972 Submitted by: bsduser <local@o2.pl>, mickael.maillot@gmail.com Obtained by: https://github.com/bagder/curl/commit/d9762a7cdb35e70f8cb0bf1c2f8019e8391616e1
-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;