Files
termux-packages/packages/fish/0001-build.rs.patch
termux-pacman-bot da16d695d5 bump(main/fish): 4.2.0
- Fixes https://github.com/termux/termux-packages/issues/27181

- Drop `Cargo.toml.patch` - no longer necessary

- Rebase and set correct apply order for all other patches

- Three more upstream commits must be reverted, and the reasons they must be reverted are explained in the patch headers
  - Causes `revert-70bd49f.patch` and `partial-revert-d68f8bd.patch` to not apply: 50819666b1
  - Causes `error[E0425]: cannot find value '_CS_PATH' in crate 'libc'`: 174130fe2f
  - Causes `error[E0425]: cannot find value 'MNT_LOCAL' in crate 'libc'`: c1f3d93b3b
2025-11-11 18:43:19 +00:00

15 lines
453 B
Diff

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
@@ -90,7 +90,7 @@ fn detect_cfgs(target: &mut Target) {
target.has_symbol("localeconv_l")
}),
("FISH_USE_POSIX_SPAWN", &|target| {
- target.has_header("spawn.h")
+ false
}),
("HAVE_PIPE2", &|target| {
target.has_symbol("pipe2")