freebsd-ports/ftp/curl/files/patch-lib::url.c
Peter Pentchev 6387b07b2f Update cURL to 7.21.3 and fix its librtmp detection. In the process:
- disable the -Werror build option by popular demand
- do not override the user's debug and optimization settings

PR:		150854 (the debug and optimization CFLAGS)
Reported by:	Anonymous <swell.k@gmail.com>
2010-12-19 20:04:23 +00:00

18 lines
575 B
C

Description: Different handling of signals and threads.
Forwarded: not-needed
Author: Peter Pentchev <roam@FreeBSD.org>
Last-Update: 2010-12-18
--- a/lib/url.c
+++ b/lib/url.c
@@ -857,6 +857,10 @@
data->progress.flags |= PGRS_HIDE;
data->state.current_speed = -1; /* init to negative == impossible */
+#if defined(__FreeBSD_version)
+ data->set.no_signal = TRUE; /* different handling of signals and threads */
+#endif /* __FreeBSD_version */
+
data->wildcard.state = CURLWC_INIT;
data->wildcard.filelist = NULL;
data->set.fnmatch = ZERO_NULL;