aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/rust/fix-curl.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-05-24 12:22:12 +0800
commit46ca440e9d6cc606d9c3233021e32d24b25172cf (patch)
treeeeb573e47ac56498fbf74bda6d22fac47038ecab /repos/extra/rust/fix-curl.patch
parent8c2e7bb570c11a51fdcecf7302af4058757d862c (diff)
downloadalicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.tar.gz
alicelinux-46ca440e9d6cc606d9c3233021e32d24b25172cf.zip
added repos
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
new file mode 100644
index 00000000..3e9e182f
--- /dev/null
+++ b/repos/extra/rust/fix-curl.patch
@@ -0,0 +1,13 @@
+diff --git a/vendor/curl-sys/build.rs b/vendor/curl-sys/build.rs
+index 24475cc..3249440 100644
+--- a/vendor/curl-sys/build.rs
++++ b/vendor/curl-sys/build.rs
+@@ -111,6 +111,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)