dua-cli: update to 2.16.0
This commit is contained in:
parent
8f4613f32e
commit
2c55e7e898
2 changed files with 3 additions and 36 deletions
|
@ -1,34 +0,0 @@
|
|||
From 5857da8941bdfde02d10c9380086525f2199bbcb Mon Sep 17 00:00:00 2001
|
||||
From: q66 <daniel@octaforge.org>
|
||||
Date: Wed, 9 Jun 2021 02:28:55 +0200
|
||||
Subject: [PATCH] fix on platforms without 64-bit atomics
|
||||
|
||||
---
|
||||
src/aggregate.rs | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git src/aggregate.rs src/aggregate.rs
|
||||
index dacaaa7..6fc474d 100644
|
||||
--- a/src/aggregate.rs
|
||||
+++ b/src/aggregate.rs
|
||||
@@ -8,7 +8,7 @@ use std::{
|
||||
io,
|
||||
path::Path,
|
||||
sync::{
|
||||
- atomic::{AtomicU64, Ordering},
|
||||
+ atomic::{AtomicUsize, Ordering},
|
||||
Arc,
|
||||
},
|
||||
thread,
|
||||
@@ -35,7 +35,7 @@ pub fn aggregate(
|
||||
let mut aggregates = Vec::new();
|
||||
let mut inodes = InodeFilter::default();
|
||||
let paths: Vec<_> = paths.into_iter().collect();
|
||||
- let shared_count = Arc::new(AtomicU64::new(0));
|
||||
+ let shared_count = Arc::new(AtomicUsize::new(0));
|
||||
|
||||
if let Some(mut err) = err {
|
||||
thread::spawn({
|
||||
--
|
||||
2.31.1
|
||||
|
|
@ -1,14 +1,15 @@
|
|||
# Template file for 'dua-cli'
|
||||
pkgname=dua-cli
|
||||
version=2.14.2
|
||||
version=2.16.0
|
||||
revision=1
|
||||
build_style=cargo
|
||||
short_desc="Tool to conveniently learn about the disk usage of directories"
|
||||
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/Byron/dua-cli"
|
||||
changelog="https://raw.githubusercontent.com/Byron/dua-cli/main/CHANGELOG.md"
|
||||
distfiles="https://github.com/Byron/dua-cli/archive/v${version}.tar.gz"
|
||||
checksum=05e7c67d986369a8fc53237522c6f696357fb9f0fe5c823da601653fb5c5a1fa
|
||||
checksum=02de8d80347405a876867901bd16539b7d7ceac3095cabcbf9abae3d7da1f357
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in a new issue