diff --git a/packages/fish/build.rs.patch b/packages/fish/build.rs.patch index cce59a7534..0088f5a4ed 100644 --- a/packages/fish/build.rs.patch +++ b/packages/fish/build.rs.patch @@ -1,13 +1,14 @@ +the command 'fish -c "uname"', and most other uses of fish's -c argument, +are not working if this is enabled. + --- a/build.rs +++ b/build.rs -@@ -96,7 +96,9 @@ fn detect_cfgs(target: &mut Target) { - Ok(target.has_symbol("localeconv_l")) +@@ -90,7 +90,7 @@ fn detect_cfgs(target: &mut Target) { + target.has_symbol("localeconv_l") }), ("FISH_USE_POSIX_SPAWN", &|target| { -- Ok(target.has_header("spawn.h")) -+ // the command 'fish -c "uname"', and most other uses of fish's -c argument, -+ // are not working if this is enabled. -+ Ok(false) +- target.has_header("spawn.h") ++ false }), ("HAVE_PIPE2", &|target| { - Ok(target.has_symbol("pipe2")) + target.has_symbol("pipe2") diff --git a/packages/fish/build.sh b/packages/fish/build.sh index 2b61616d76..b862cdc0e6 100644 --- a/packages/fish/build.sh +++ b/packages/fish/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://fishshell.com/ TERMUX_PKG_DESCRIPTION="The user-friendly command line shell" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="4.1.0" +TERMUX_PKG_VERSION="4.1.2" TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/releases/download/$TERMUX_PKG_VERSION/fish-${TERMUX_PKG_VERSION}.tar.xz -TERMUX_PKG_SHA256=07a76c67e161b9edc772e6f1d66ebead85d7056e86631d61577f9f9a529c4d9c +TERMUX_PKG_SHA256=52873934fc1ee21a1496e9f4521409013e540f77cbf29142a1b17ab93ffaafac TERMUX_PKG_AUTO_UPDATE=true # fish calls 'tput' from ncurses-utils, at least when cancelling (Ctrl+C) a command line. # man is needed since fish calls apropos during command completion.