gping: update to 1.15.1.

This commit is contained in:
icp 2023-11-08 13:52:20 +05:30 committed by classabbyamp
parent 77d6d1f3d6
commit 641dc53bd2
2 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,22 @@
From 7ad129c979b48cbea8b1c64ddf37e71da7f00d13 Mon Sep 17 00:00:00 2001
From: Twan Stok <t.s.stok@student.utwente.nl>
Date: Tue, 7 Nov 2023 20:57:53 +0100
Subject: [PATCH] fixed reference typing issue
---
gping/src/main.rs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gping/src/main.rs b/gping/src/main.rs
index f20ab104..2a41af7a 100644
--- a/gping/src/main.rs
+++ b/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());

View file

@ -1,6 +1,6 @@
# Template file for 'gping'
pkgname=gping
version=1.14.0
version=1.15.1
revision=1
build_style=cargo
make_install_args="--path gping"
@ -10,7 +10,7 @@ maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://crates.io/crates/gping"
distfiles="https://github.com/orf/gping/archive/refs/tags/gping-v${version}.tar.gz"
checksum=8a9c11668e2de8472d551225da1390e89bfbe4a327d120e62f8f65a2270c44f0
checksum=bd7400c2e20f6bd547de2125c36a370fefab04ee5bf9ad60d38619ecf2114f5b
post_install() {
vlicense LICENSE