fclones: update to 0.31.1
This commit is contained in:
parent
e090b39d26
commit
a80202598a
|
@ -2,8 +2,8 @@ TERMUX_PKG_HOMEPAGE="https://github.com/pkolaczk/fclones"
|
|||
TERMUX_PKG_DESCRIPTION="Efficient Duplicate File Finder"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="0.31.0"
|
||||
TERMUX_PKG_VERSION="0.31.1"
|
||||
TERMUX_PKG_SRCURL="https://github.com/pkolaczk/fclones/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
|
||||
TERMUX_PKG_SHA256=4fca70bb3f660bffbf3f473bcd9d3cba52830892f2e62dafa315be7b32985340
|
||||
TERMUX_PKG_SHA256=9c006cfd23f09315fb2cfedf6c4204986d39560b30f02f782b531f13b3df82e5
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/src/rlimit.rs b/src/rlimit.rs
|
||||
index f30d8dc..b844aa9 100644
|
||||
--- a/src/rlimit.rs
|
||||
+++ b/src/rlimit.rs
|
||||
@@ -8,7 +8,7 @@ use std::sync::Arc;
|
||||
#[cfg(unix)]
|
||||
// Get the maximum number of open file descriptors for this process, and if
|
||||
// the hard limit is larger than the soft limit increase it.
|
||||
-fn rlimit_nofile() -> u64 {
|
||||
+fn rlimit_nofile() -> libc::rlim_t {
|
||||
let mut file_limit = libc::rlimit {
|
||||
rlim_cur: 0,
|
||||
rlim_max: 0,
|
Loading…
Reference in New Issue