summaryrefslogtreecommitdiff
path: root/editors/neovim-gtk/files/patch-src_ui.rs
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2024-08-27 15:11:04 -0600
committerAlan Somers <asomers@FreeBSD.org>2024-08-27 15:11:40 -0600
commit84ab1f01b4cede40a41bc129b85798d8097f5197 (patch)
treeb31bbc88ec8812221957e86dd016a54214886a73 /editors/neovim-gtk/files/patch-src_ui.rs
parentwww/firefox: fix dependency nss minimum version (diff)
editors/neovim-gtk: fix the build with Rust 1.80.1
https://github.com/Lyude/neovim-gtk/issues/119
Diffstat (limited to 'editors/neovim-gtk/files/patch-src_ui.rs')
-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 {