fclones: update to 0.31.1

This commit is contained in:
Lucy Phipps 2023-06-08 17:34:19 +01:00 committed by GitHub
parent e090b39d26
commit a80202598a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 15 deletions

View File

@ -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

View File

@ -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,