* [PR PATCH] zet: fix for rust-178
@ 2024-05-03 18:54 icp1994
2024-05-03 19:33 ` [PR PATCH] [Updated] " icp1994
2024-05-07 6:30 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2024-05-03 18:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages zet
https://github.com/void-linux/void-packages/pull/50180
zet: fix for rust-178
#### 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/50180.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zet-50180.patch --]
[-- Type: text/x-diff, Size: 1854 bytes --]
From 4909889b8bf672d7276c160cd65228406bda42f3 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 4 May 2024 00:19:39 +0530
Subject: [PATCH] zet: fix for rust-178
---
srcpkgs/zet/patches/fix-rust178.patch | 23 +++++++++++++++++++++++
srcpkgs/zet/template | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/zet/patches/fix-rust178.patch
diff --git a/srcpkgs/zet/patches/fix-rust178.patch b/srcpkgs/zet/patches/fix-rust178.patch
new file mode 100644
index 00000000000000..839a4113995b4c
--- /dev/null
+++ b/srcpkgs/zet/patches/fix-rust178.patch
@@ -0,0 +1,23 @@
+From b6a0c67f6ac76fb7bf8234951678b77fbac12d76 Mon Sep 17 00:00:00 2001
+From: Yarrow Angelweed <yarrow.angelweed@gmail.com>
+Date: Wed, 6 Mar 2024 12:17:38 -0500
+Subject: [PATCH] Take nightly clippy advice
+
+---
+ src/help.rs | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/help.rs b/src/help.rs
+index 23c79aa..0e8c3c3 100644
+--- a/src/help.rs
++++ b/src/help.rs
+@@ -123,8 +123,7 @@ impl<'a> Section<'a> {
+ Ok(0)
+ }
+ fn next_line_help_indent(&self) -> &'a str {
+- let max_indent =
+- self.entries.iter().map(|e| e.item.indented_by()).fold(0, std::cmp::Ord::max);
++ let max_indent = self.entries.iter().map(|e| e.item.indented_by()).fold(0, Ord::max);
+ let indent_len = (max_indent + 4).min(BLANKS.len());
+ &BLANKS[..indent_len]
+ }
diff --git a/srcpkgs/zet/template b/srcpkgs/zet/template
index 86c2fdad2b295c..e1d88e28136d53 100644
--- a/srcpkgs/zet/template
+++ b/srcpkgs/zet/template
@@ -1,7 +1,7 @@
# Template file for 'zet'
pkgname=zet
version=1.0.0
-revision=1
+revision=2
build_style=cargo
short_desc="CLI to find union, intersection, set difference, etc of files"
maintainer="icp <pangolin@vivaldi.net>"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] zet: fix for rust-178
2024-05-03 18:54 [PR PATCH] zet: fix for rust-178 icp1994
@ 2024-05-03 19:33 ` icp1994
2024-05-07 6:30 ` [PR PATCH] [Merged]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2024-05-03 19:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages zet
https://github.com/void-linux/void-packages/pull/50180
zet: fix for rust-178
#### 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/50180.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zet-50180.patch --]
[-- Type: text/x-diff, Size: 1854 bytes --]
From f0f34c25e0c4c0194aaafca1d0a93156de64a3fe Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 4 May 2024 00:19:39 +0530
Subject: [PATCH] zet: fix for rust-178
---
srcpkgs/zet/patches/fix-rust178.patch | 23 +++++++++++++++++++++++
srcpkgs/zet/template | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/zet/patches/fix-rust178.patch
diff --git a/srcpkgs/zet/patches/fix-rust178.patch b/srcpkgs/zet/patches/fix-rust178.patch
new file mode 100644
index 00000000000000..839a4113995b4c
--- /dev/null
+++ b/srcpkgs/zet/patches/fix-rust178.patch
@@ -0,0 +1,23 @@
+From b6a0c67f6ac76fb7bf8234951678b77fbac12d76 Mon Sep 17 00:00:00 2001
+From: Yarrow Angelweed <yarrow.angelweed@gmail.com>
+Date: Wed, 6 Mar 2024 12:17:38 -0500
+Subject: [PATCH] Take nightly clippy advice
+
+---
+ src/help.rs | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/help.rs b/src/help.rs
+index 23c79aa..0e8c3c3 100644
+--- a/src/help.rs
++++ b/src/help.rs
+@@ -123,8 +123,7 @@ impl<'a> Section<'a> {
+ Ok(0)
+ }
+ fn next_line_help_indent(&self) -> &'a str {
+- let max_indent =
+- self.entries.iter().map(|e| e.item.indented_by()).fold(0, std::cmp::Ord::max);
++ let max_indent = self.entries.iter().map(|e| e.item.indented_by()).fold(0, Ord::max);
+ let indent_len = (max_indent + 4).min(BLANKS.len());
+ &BLANKS[..indent_len]
+ }
diff --git a/srcpkgs/zet/template b/srcpkgs/zet/template
index 86c2fdad2b295c..e1d88e28136d53 100644
--- a/srcpkgs/zet/template
+++ b/srcpkgs/zet/template
@@ -1,7 +1,7 @@
# Template file for 'zet'
pkgname=zet
version=1.0.0
-revision=1
+revision=2
build_style=cargo
short_desc="CLI to find union, intersection, set difference, etc of files"
maintainer="icp <pangolin@vivaldi.net>"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: zet: fix for rust-178
2024-05-03 18:54 [PR PATCH] zet: fix for rust-178 icp1994
2024-05-03 19:33 ` [PR PATCH] [Updated] " icp1994
@ 2024-05-07 6:30 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-05-07 6:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
There's a merged pull request on the void-packages repository
zet: fix for rust-178
https://github.com/void-linux/void-packages/pull/50180
Description:
#### 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**
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-07 6:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03 18:54 [PR PATCH] zet: fix for rust-178 icp1994
2024-05-03 19:33 ` [PR PATCH] [Updated] " icp1994
2024-05-07 6:30 ` [PR PATCH] [Merged]: " classabbyamp
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).