summaryrefslogtreecommitdiff
path: root/lang/rust-nightly/files/patch-vendor_git2-0.20.2_src_lib.rs
blob: 116d0b1fd58313e52eedd43b3968f017bfc5720f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- vendor/git2-0.20.2/src/lib.rs.orig	2025-02-21 20:02:44 UTC
+++ vendor/git2-0.20.2/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() {}