aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-18 01:44:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-18 01:44:07 +0800
commitf7c061284eaf267239b96c828f03f43b9b65e766 (patch)
treeea575923bb7261de14c85c773d09377fbe2d6322 /ftp
parentf61901210219e1e4a4eba4c5c4bb32429d54c6f8 (diff)
downloadfreebsd-ports-gnome-f7c061284eaf267239b96c828f03f43b9b65e766.tar.gz
freebsd-ports-gnome-f7c061284eaf267239b96c828f03f43b9b65e766.tar.zst
freebsd-ports-gnome-f7c061284eaf267239b96c828f03f43b9b65e766.zip
Fix build with CURL_DEBUG enabled
lib/checksrc.pl is run when CURL_DEBUG is enabled. The build failed due to the long line in patched lib/url.c. ./url.c:593:82: warning: Longer than 79 columns (LONGLINE) data->set.no_signal = TRUE; /* different handling of signals and threads */ checksrc: 0 errors and 1 warnings checksrc: 0 errors and 5 warnings suppressed gmake[3]: *** [Makefile:3935: checksrc] Error 5 MFH: 2018Q1
Diffstat (limited to 'ftp')
-rw-r--r--ftp/curl/files/patch-lib-url.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ftp/curl/files/patch-lib-url.c b/ftp/curl/files/patch-lib-url.c
index 5e5c906329e7..2afbeb8e1c4e 100644
--- a/ftp/curl/files/patch-lib-url.c
+++ b/ftp/curl/files/patch-lib-url.c
@@ -3,14 +3,15 @@ Forwarded: not-needed
Author: Peter Pentchev <roam@FreeBSD.org>
Last-Update: 2010-12-18
---- lib/url.c.orig 2017-11-27 12:50:52 UTC
+--- lib/url.c.orig 2018-01-23 07:55:37 UTC
+++ lib/url.c
-@@ -591,6 +591,9 @@ CURLcode Curl_open(struct Curl_easy **cu
+@@ -589,6 +589,10 @@ CURLcode Curl_open(struct Curl_easy **cu
data->state.current_speed = -1; /* init to negative == impossible */
data->set.fnmatch = ZERO_NULL;
data->set.maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */
+#if defined(__FreeBSD_version)
-+ data->set.no_signal = TRUE; /* different handling of signals and threads */
++ /* different handling of signals and threads */
++ data->set.no_signal = TRUE;
+#endif /* __FreeBSD_version */
Curl_http2_init_state(&data->state);