Skip to content

Commit

Permalink
bandwhich: fix build on Rust 1.64+
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgruenhage committed Apr 8, 2023
1 parent b2c6d7a commit dbc0723
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion srcpkgs/bandwhich/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'bandwhich'
pkgname=bandwhich
version=0.20.0
revision=1
revision=2
build_style=cargo
short_desc="Terminal bandwidth utilization tool"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
Expand All @@ -10,6 +10,12 @@ homepage="https://github.com/imsnif/bandwhich"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=4bbf05be32439049edd50bd1e4d5a2a95b0be8d36782e4100732f0cc9f19ba12

post_patch() {
# fixes compilation on Rust 1.64 and higher
cargo update --package socket2:0.3.11 --precise 0.3.16
}


post_install() {
vlicense LICENSE.md
}

0 comments on commit dbc0723

Please sign in to comment.