Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149830694
D49120.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49120.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D49120: lang/rust: Make OpenSSL use the system default truststore in Cargo
Attached
Detach File
Event Timeline
Log In to Comment