mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-09 21:35:36 +00:00
- build ctermid
- add custom libc crate patch for 32bit android builds
- avoid using POSIX_SPAWN for spawning processes
- backport FindRust.cmake rustup fix
This backports: b38551dde9
Co-authored-by: Jia Yuan Lo <jylo06g@gmail.com>
Co-authored-by: Yaksh Bariya <yakshbari4@gmail.com>
Co-authored-by: Robert Kirkman <misternumberone@live.com>
Co-authored-by: AminurAlam <64137875+AminurAlam@users.noreply.github.com>
14 lines
500 B
Diff
14 lines
500 B
Diff
--- a/build.rs
|
|
+++ b/build.rs
|
|
@@ -96,7 +96,9 @@ fn detect_cfgs(target: &mut Target) {
|
|
Ok(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)
|
|
}),
|
|
("HAVE_PIPE2", &|target| {
|
|
Ok(target.has_symbol("pipe2"))
|