git: 84ab1f01b4ce - main - editors/neovim-gtk: fix the build with Rust 1.80.1

From: Alan Somers <asomers_at_FreeBSD.org>
Date: Tue, 27 Aug 2024 21:11:45 UTC
The branch main has been updated by asomers:

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

commit 84ab1f01b4cede40a41bc129b85798d8097f5197
Author:     Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2024-08-27 21:11:04 +0000
Commit:     Alan Somers <asomers@FreeBSD.org>
CommitDate: 2024-08-27 21:11:40 +0000

    editors/neovim-gtk: fix the build with Rust 1.80.1
    
    https://github.com/Lyude/neovim-gtk/issues/119
---
 editors/neovim-gtk/files/patch-src_ui.rs | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/editors/neovim-gtk/files/patch-src_ui.rs b/editors/neovim-gtk/files/patch-src_ui.rs
new file mode 100644
index 000000000000..b0bf5becbf6a
--- /dev/null
+++ b/editors/neovim-gtk/files/patch-src_ui.rs
@@ -0,0 +1,11 @@
+--- src/ui.rs.orig	2024-08-27 21:04:49 UTC
++++ src/ui.rs
+@@ -385,7 +385,7 @@ impl Ui {
+                     files_list
+                         .iter()
+                         .map(|f| misc::escape_filename(f))
+-                        .collect::<Box<_>>()
++                        .collect::<Box<[_]>>()
+                         .join(" ")
+                 ));
+             } else {