aboutsummaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2009-01-24 13:00:50 +0000
committerPeter Pentchev <roam@FreeBSD.org>2009-01-24 13:00:50 +0000
commit133a11ddea175e9d57cc37145506dc02dae7a819 (patch)
tree84fc6f04012ef3d09f07c074ad4790f6e3224f69 /net/xmlrpc-c-devel
parentd108c3e6d44e6d4fa169f8c164a8b106df7826a6 (diff)
downloadports-133a11ddea175e9d57cc37145506dc02dae7a819.tar.gz
ports-133a11ddea175e9d57cc37145506dc02dae7a819.zip
Fix the build with the new curl version: the CURLOPT_SSLENGINE_DEFAULT
option takes an argument now, even though it might be ignored.
Notes
Notes: svn path=/head/; revision=226785
Diffstat (limited to 'net/xmlrpc-c-devel')
-rw-r--r--net/xmlrpc-c-devel/files/patch-lib-curl_transport-xmlrpc_curl_transport.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/files/patch-lib-curl_transport-xmlrpc_curl_transport.c b/net/xmlrpc-c-devel/files/patch-lib-curl_transport-xmlrpc_curl_transport.c
new file mode 100644
index 000000000000..7f2bb710eb40
--- /dev/null
+++ b/net/xmlrpc-c-devel/files/patch-lib-curl_transport-xmlrpc_curl_transport.c
@@ -0,0 +1,11 @@
+--- lib/curl_transport/xmlrpc_curl_transport.c.old 2008-11-12 13:05:29.000000000 +0200
++++ lib/curl_transport/xmlrpc_curl_transport.c 2008-11-12 13:05:38.000000000 +0200
+@@ -557,7 +557,7 @@
+ curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE,
+ curlSetupP->sslEngine);
+ if (curlSetupP->sslEngineDefault)
+- curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT);
++ curl_easy_setopt(curlSessionP, CURLOPT_SSLENGINE_DEFAULT, 1);
+ if (curlSetupP->sslVersion != XMLRPC_SSLVERSION_DEFAULT)
+ curl_easy_setopt(curlSessionP, CURLOPT_SSLVERSION,
+ curlSetupP->sslVersion);