net-mgmt/gping: revert 2e84189106 to fix patch

The patch introduced in 2e84189106 does not apply and is not needed
to build the port.

Notified by:	pkg-fallout
Pointy hat:	mikael
This commit is contained in:
Emanuel Haupt 2023-12-12 21:33:39 +01:00
parent a75fb09067
commit 8c2c8610b7
2 changed files with 1 additions and 16 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= gping
PORTVERSION= 1.16.0
DISTVERSIONPREFIX= gping-v
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= ehaupt@FreeBSD.org

View file

@ -1,15 +0,0 @@
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::<Vec<_>>()
- .as_ref(),
+ .collect::<Vec<_>>(),
)
.split(f.size());