aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/rust/fix-curl.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-03-06 13:50:48 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-03-06 13:50:48 +0000
commita12a4f2e2c5e333806b649e7f67a7a164f37cced (patch)
treeb9f9b66618b23305ccd97664c62d40150f8594be /repos/extra/rust/fix-curl.patch
parentccc04dd6534c6ec1d23037ac21637e70cb829d86 (diff)
downloadalicelinux-a12a4f2e2c5e333806b649e7f67a7a164f37cced.tar.gz
alicelinux-a12a4f2e2c5e333806b649e7f67a7a164f37cced.zip
rust: updated to 1.85.0
Diffstat (limited to 'repos/extra/rust/fix-curl.patch')
-rw-r--r--repos/extra/rust/fix-curl.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/extra/rust/fix-curl.patch b/repos/extra/rust/fix-curl.patch
index e0469d8d..b1067b3d 100644
--- a/repos/extra/rust/fix-curl.patch
+++ b/repos/extra/rust/fix-curl.patch
@@ -24,3 +24,16 @@ index 7d9a661..683354e 100644
.define("CURL_DISABLE_DICT", None)
.define("CURL_DISABLE_GOPHER", None)
.define("CURL_DISABLE_IMAP", None)
+diff --git a/vendor/curl-sys-0.4.78+curl-8.11.0/build.rs b/vendor/curl-sys-0.4.78+curl-8.11.0/build.rs
+index a451b24..363b314 100644
+--- a/vendor/curl-sys-0.4.78+curl-8.11.0/build.rs
++++ b/vendor/curl-sys-0.4.78+curl-8.11.0/build.rs
+@@ -117,6 +117,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)