aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/rust/fix-curl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/extra/rust/fix-curl.patch')
-rwxr-xr-xrepos/extra/rust/fix-curl.patch21
1 files changed, 17 insertions, 4 deletions
diff --git a/repos/extra/rust/fix-curl.patch b/repos/extra/rust/fix-curl.patch
index dbcb37e9..e0469d8d 100755
--- a/repos/extra/rust/fix-curl.patch
+++ b/repos/extra/rust/fix-curl.patch
@@ -1,7 +1,7 @@
-diff --git a/vendor/curl-sys/build.rs b/vendor/curl-sys/build.rs
-index 24475cc..3249440 100644
---- a/vendor/curl-sys-0.4.72+curl-8.6.0/build.rs
-+++ b/vendor/curl-sys-0.4.72+curl-8.6.0/build.rs
+diff --git a/vendor/curl-sys-0.4.52+curl-7.81.0/build.rs b/vendor/curl-sys-0.4.52+curl-7.81.0/build.rs
+index e9a2a42..560bfed 100644
+--- a/vendor/curl-sys-0.4.52+curl-7.81.0/build.rs
++++ b/vendor/curl-sys-0.4.52+curl-7.81.0/build.rs
@@ -111,6 +111,8 @@ fn main() {
.include("curl/lib")
.include("curl/include")
@@ -11,3 +11,16 @@ index 24475cc..3249440 100644
.define("CURL_DISABLE_DICT", None)
.define("CURL_DISABLE_GOPHER", None)
.define("CURL_DISABLE_IMAP", None)
+diff --git a/vendor/curl-sys-0.4.74+curl-8.9.0/build.rs b/vendor/curl-sys-0.4.74+curl-8.9.0/build.rs
+index 7d9a661..683354e 100644
+--- a/vendor/curl-sys-0.4.74+curl-8.9.0/build.rs
++++ b/vendor/curl-sys-0.4.74+curl-8.9.0/build.rs
+@@ -109,6 +109,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)