git: f82789d972f8 - main - x11/clipcat: Fix build with rust 1.77.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 09:42:09 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f82789d972f876aeb39d7b421cbfcd66f02926cd
commit f82789d972f876aeb39d7b421cbfcd66f02926cd
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-03-19 17:23:32 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-03-23 09:41:45 +0000
x11/clipcat: Fix build with rust 1.77.0
error: lint `coinductive_overlap_in_coherence` has been removed: converted
into hard error, see PR #118649 <https://github.com/rust-lang/rust/pull/118649>
for more information
PR: 277786
Approved by: portmgr (build fix blanket)
---
x11/clipcat/files/patch-rust-1.77.0 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/x11/clipcat/files/patch-rust-1.77.0 b/x11/clipcat/files/patch-rust-1.77.0
new file mode 100644
index 000000000000..50ecb83ca2d7
--- /dev/null
+++ b/x11/clipcat/files/patch-rust-1.77.0
@@ -0,0 +1,10 @@
+--- Cargo.toml.orig 2024-03-19 15:39:03 UTC
++++ Cargo.toml
+@@ -78,7 +78,6 @@ coherence_leak_check = "deny"
+ byte_slice_in_packed_struct_with_derive = "deny"
+ clashing_extern_declarations = "deny"
+ coherence_leak_check = "deny"
+-coinductive_overlap_in_coherence = "deny"
+ confusable_idents = "deny"
+ const_evaluatable_unchecked = "deny"
+ const_item_mutation = "deny"