aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2024-08-27 21:11:04 +0000
committerAlan Somers <asomers@FreeBSD.org>2024-08-27 21:11:40 +0000
commit84ab1f01b4cede40a41bc129b85798d8097f5197 (patch)
treeb31bbc88ec8812221957e86dd016a54214886a73
parenta6ecf0eccb01f010cf5a75fa22a3c35b5448573e (diff)
editors/neovim-gtk: fix the build with Rust 1.80.1
-rw-r--r--editors/neovim-gtk/files/patch-src_ui.rs11
1 files changed, 11 insertions, 0 deletions
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 {