diff options
Diffstat (limited to 'repos/extra/rust/fix-curl.patch')
| -rw-r--r-- | repos/extra/rust/fix-curl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/rust/fix-curl.patch b/repos/extra/rust/fix-curl.patch index 2f330e73..9d25f092 100644 --- a/repos/extra/rust/fix-curl.patch +++ b/repos/extra/rust/fix-curl.patch @@ -24,3 +24,16 @@ index 433a6c5..1bb712f 100644 .define("CURL_DISABLE_DICT", None) .define("CURL_DISABLE_GOPHER", None) .define("CURL_DISABLE_IMAP", None) +diff --git a/vendor/curl-sys-0.4.84+curl-8.17.0/build.rs b/vendor/curl-sys-0.4.84+curl-8.17.0/build.rs +index b74c085..f347449 100644 +--- a/vendor/curl-sys-0.4.84+curl-8.17.0/build.rs ++++ b/vendor/curl-sys-0.4.84+curl-8.17.0/build.rs +@@ -106,6 +106,8 @@ fn main() { + .include("curl/lib") + .include("curl/include") + .define("BUILDING_LIBCURL", None) ++ .define("CURL_CA_BUNDLE", "\"/etc/ssl/cert.pem\"") ++ .define("CURL_CA_PATH", "\"/etc/ssl/certs\"") + .define("CURL_DISABLE_DICT", None) + .define("CURL_DISABLE_GOPHER", None) + .define("CURL_DISABLE_IMAP", None) |