aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/rust/fix-curl.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2026-02-22 00:39:09 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2026-02-22 00:39:09 +0000
commitbaaee8c0064253ed3a2f9288e6239c573458b116 (patch)
tree08f1f669ebc1f842ad0d8a93962c77061e75da2d /repos/extra/rust/fix-curl.patch
parentff891d2d4b152212a889d0f50a228bff2df00357 (diff)
downloadalicelinux-baaee8c0064253ed3a2f9288e6239c573458b116.tar.gz
alicelinux-baaee8c0064253ed3a2f9288e6239c573458b116.zip
rust: updated to 1.93.1
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 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)