Page MenuHomeFreeBSD

D49120.diff
No OneTemporary

D49120.diff

diff --git a/lang/rust/Makefile b/lang/rust/Makefile
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rust
PORTVERSION?= 1.85.0
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= lang
MASTER_SITES= https://static.rust-lang.org/dist/:src \
https://dev-static.rust-lang.org/dist/:src \
diff --git a/lang/rust/files/patch-vendor_git2-0.19.0_src_lib.rs b/lang/rust/files/patch-vendor_git2-0.19.0_src_lib.rs
new file mode 100644
--- /dev/null
+++ b/lang/rust/files/patch-vendor_git2-0.19.0_src_lib.rs
@@ -0,0 +1,18 @@
+--- vendor/git2-0.19.0/src/lib.rs.orig 2025-02-21 20:02:44 UTC
++++ vendor/git2-0.19.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() {}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 28, 10:55 AM (1 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30390759
Default Alt Text
D49120.diff (1 KB)

Event Timeline