From 1fd57b50dd6526e553a4c58bbb0defc21f003b11 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 6 Sep 2024 00:57:52 +0200 Subject: [PATCH] fix(main/yazi): Update rustix to get TCGETS fallback See https://github.com/bytecodealliance/rustix/pull/1147 Fixes #21364 --- packages/yazi/Cargo.lock.patch | 17 +++++++++++++++++ packages/yazi/build.sh | 1 + 2 files changed, 18 insertions(+) create mode 100644 packages/yazi/Cargo.lock.patch diff --git a/packages/yazi/Cargo.lock.patch b/packages/yazi/Cargo.lock.patch new file mode 100644 index 00000000000000..834bcbb9032951 --- /dev/null +++ b/packages/yazi/Cargo.lock.patch @@ -0,0 +1,17 @@ +Uodate rustix to get https://github.com/bytecodealliance/rustix/pull/1147 + +diff -u -r ../yazi-0.3.3/Cargo.lock ./Cargo.lock +--- ../yazi-0.3.3/Cargo.lock 2024-09-04 15:16:18.000000000 +0000 ++++ ./Cargo.lock 2024-09-05 22:10:24.763062579 +0000 +@@ -2105,9 +2105,9 @@ + + [[package]] + name = "rustix" +-version = "0.38.35" ++version = "0.38.36" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "a85d50532239da68e9addb745ba38ff4612a242c1c7ceea689c4bc7c2f43c36f" ++checksum = "3f55e80d50763938498dd5ebb18647174e0c76dc38c5505294bb224624f30f36" + dependencies = [ + "bitflags 2.6.0", + "errno", diff --git a/packages/yazi/build.sh b/packages/yazi/build.sh index 46b660a962e6b3..f49d2bcf79a145 100644 --- a/packages/yazi/build.sh +++ b/packages/yazi/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Blazing fast terminal file manager written in Rust, base TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.3.3" +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/sxyazi/yazi/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=fe2a458808334fe20eff1ab0145c78d684d8736c9715e4c51bce54038607dc4e TERMUX_PKG_AUTO_UPDATE=true