git: de786df83a23 - main - x11/clipcat: Fix build with rust 1.78.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Mon, 13 May 2024 11:03:54 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de786df83a233c5cf67528fe46736ebc20f48cb9

commit de786df83a233c5cf67528fe46736ebc20f48cb9
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-05-07 10:52:45 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-05-13 11:03:22 +0000

    x11/clipcat: Fix build with rust 1.78.0
    
    PR:             278834
    Approved by:    portmgr (build fix blanket)
---
 x11/clipcat/files/patch-rust-1.78.0 | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/x11/clipcat/files/patch-rust-1.78.0 b/x11/clipcat/files/patch-rust-1.78.0
new file mode 100644
index 000000000000..ac5ddecae19a
--- /dev/null
+++ b/x11/clipcat/files/patch-rust-1.78.0
@@ -0,0 +1,35 @@
+--- Cargo.toml.orig	2024-05-07 10:35:27.246548000 +0200
++++ Cargo.toml	2024-05-07 10:38:56.213212000 +0200
+@@ -62,7 +62,6 @@ unused_macro_rules                      = "deny"
+ unused_import_braces                    = "deny"
+ unused_lifetimes                        = "deny"
+ unused_macro_rules                      = "deny"
+-unused_qualifications                   = "deny"
+ unused_results                          = "deny"
+ variant_size_differences                = "deny"
+ 
+@@ -80,8 +79,6 @@ const_item_mutation                      = "deny"
+ confusable_idents                        = "deny"
+ const_evaluatable_unchecked              = "deny"
+ const_item_mutation                      = "deny"
+-const_patterns_without_partial_eq        = "deny"
+-dead_code                                = "deny"
+ deprecated                               = "deny"
+ deprecated_where_clause_location         = "deny"
+ deref_into_dyn_supertrait                = "deny"
+@@ -100,7 +97,6 @@ hidden_glob_reexports                    = "deny"
+ for_loops_over_fallibles                 = "deny"
+ function_item_references                 = "deny"
+ hidden_glob_reexports                    = "deny"
+-illegal_floating_point_literal_pattern   = "deny"
+ improper_ctypes                          = "deny"
+ improper_ctypes_definitions              = "deny"
+ incomplete_features                      = "deny"
+@@ -119,7 +115,6 @@ named_arguments_used_positionally        = "deny"
+ map_unit_fn                              = "deny"
+ mixed_script_confusables                 = "deny"
+ named_arguments_used_positionally        = "deny"
+-nontrivial_structural_match              = "deny"
+ non_camel_case_types                     = "deny"
+ non_fmt_panics                           = "deny"
+ non_shorthand_field_patterns             = "deny"