git: dd400e5b33f3 - main - x11/clipcat: Fix build with rust 1.99.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 14 Oct 2026 07:40:17 UTC
The branch main has been updated by mikael:

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

commit dd400e5b33f33c8477982ebd87effab934c9eff2
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2026-10-12 13:59:33 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-10-14 07:38:05 +0000

    x11/clipcat: Fix build with rust 1.99.0
    
    Fix the following error:
    error: lint `no_mangle_generic_items` has been removed: converted into hard error, generic items must always be mangled
    
    PR:             299016
    Approved by:    portmgr (build fix blanket)
---
 x11/clipcat/files/patch-rust-1.99.0 | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/x11/clipcat/files/patch-rust-1.99.0 b/x11/clipcat/files/patch-rust-1.99.0
new file mode 100644
index 000000000000..3546a0087873
--- /dev/null
+++ b/x11/clipcat/files/patch-rust-1.99.0
@@ -0,0 +1,13 @@
+error: lint `no_mangle_generic_items` has been removed: converted into hard error, generic items must always be mangled
+
+
+--- Cargo.toml.orig	2026-10-12 15:58:25 UTC
++++ Cargo.toml
+@@ -209,7 +209,6 @@ named_arguments_used_positionally       = "deny"
+ map_unit_fn                             = "deny"
+ mixed_script_confusables                = "deny"
+ named_arguments_used_positionally       = "deny"
+-no_mangle_generic_items                 = "deny"
+ non_camel_case_types                    = "deny"
+ non_fmt_panics                          = "deny"
+ non_shorthand_field_patterns            = "deny"