aboutsummaryrefslogtreecommitdiff
path: root/lang/rust188/files/patch-vendor_git2-0.19.0_src_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust188/files/patch-vendor_git2-0.19.0_src_lib.rs')
-rw-r--r--lang/rust188/files/patch-vendor_git2-0.19.0_src_lib.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/rust188/files/patch-vendor_git2-0.19.0_src_lib.rs b/lang/rust188/files/patch-vendor_git2-0.19.0_src_lib.rs
new file mode 100644
index 000000000000..1676f0c23188
--- /dev/null
+++ b/lang/rust188/files/patch-vendor_git2-0.19.0_src_lib.rs
@@ -0,0 +1,18 @@
+--- vendor/git2-0.20.0/src/lib.rs.orig 2025-02-21 20:02:44 UTC
++++ vendor/git2-0.20.0/src/lib.rs
+@@ -759,6 +759,7 @@ fn init() {
+ unix,
+ not(target_os = "macos"),
+ not(target_os = "ios"),
++ not(target_os = "freebsd"),
+ feature = "https"
+ ))]
+ fn openssl_env_init() {
+@@ -880,6 +881,7 @@ fn openssl_env_init() {
+ windows,
+ target_os = "macos",
+ target_os = "ios",
++ target_os = "freebsd",
+ not(feature = "https")
+ ))]
+ fn openssl_env_init() {}