diff --git a/net-mgmt/gping/files/patch-rust-1.74.0 b/net-mgmt/gping/files/patch-rust-1.74.0 new file mode 100644 index 000000000000..0af07c3973ac --- /dev/null +++ b/net-mgmt/gping/files/patch-rust-1.74.0 @@ -0,0 +1,15 @@ +https://github.com/orf/gping/pull/395 +https://github.com/orf/gping/commit/7ad129c979b48cbea8b1c64ddf37e71da7f00d13 + +--- gping/src/main.rs.orig 2023-11-07 15:32:02 UTC ++++ gping/src/main.rs +@@ -487,8 +487,7 @@ fn main() -> Result<()> { + iter::repeat(Constraint::Length(1)) + .take(app.data.len()) + .chain(iter::once(Constraint::Percentage(10))) +- .collect::>() +- .as_ref(), ++ .collect::>(), + ) + .split(f.size()); +