aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/rust/fix-curl.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-02-25 00:03:32 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-02-25 00:03:32 +0800
commit8f44ee1d4d34d94e82a7e578ee4b8465cb8dadc3 (patch)
tree77a53a11ef4922412a4edc03e595251fa252d478 /repos/extra/rust/fix-curl.patch
parent2195d5e6b87fc6c3c46851f28ce3a6fe71189f17 (diff)
downloadalicelinux-8f44ee1d4d34d94e82a7e578ee4b8465cb8dadc3.tar.gz
alicelinux-8f44ee1d4d34d94e82a7e578ee4b8465cb8dadc3.zip
rust: added libressl patch
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)