From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] gping: update to 1.15.1.
Date: Fri, 17 Nov 2023 10:42:40 +0100 [thread overview]
Message-ID: <20231117094240.AY9O8fxBPAD_bH1wg-Yz9DLmmRVj4J-BnUxsUqCQrmI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47212@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages gping
https://github.com/void-linux/void-packages/pull/47212
gping: update to 1.15.1.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/47212.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gping-47212.patch --]
[-- Type: text/x-diff, Size: 2282 bytes --]
From 206107bb8a03b44b60bcf7dacd7e8a2726ee0628 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 8 Nov 2023 13:52:20 +0530
Subject: [PATCH] gping: update to 1.15.1.
---
srcpkgs/gping/patches/fix-for-rust174.patch | 22 +++++++++++++++++++++
srcpkgs/gping/template | 4 ++--
2 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/gping/patches/fix-for-rust174.patch
diff --git a/srcpkgs/gping/patches/fix-for-rust174.patch b/srcpkgs/gping/patches/fix-for-rust174.patch
new file mode 100644
index 0000000000000..439288051cbab
--- /dev/null
+++ b/srcpkgs/gping/patches/fix-for-rust174.patch
@@ -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());
diff --git a/srcpkgs/gping/template b/srcpkgs/gping/template
index 6ca3becf9fc0f..9fe351a07d42f 100644
--- a/srcpkgs/gping/template
+++ b/srcpkgs/gping/template
@@ -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
next prev parent reply other threads:[~2023-11-17 9:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-13 19:24 [PR PATCH] " icp1994
2023-11-17 9:42 ` icp1994 [this message]
2023-11-26 8:19 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231117094240.AY9O8fxBPAD_bH1wg-Yz9DLmmRVj4J-BnUxsUqCQrmI@z \
--to=icp1994@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).