Files
termux-packages/packages/pueue/patches.patch
termux-pacman-bot 11722dcda2 bump(main/pueue): 4.0.2
- Fixes https://github.com/termux/termux-packages/issues/27677

- Force bump dependency crate `rustix` to 1.1.3 to fix error `failed to resolve: use of unresolved module or unlinked crate 'linux_raw_sys'`
2026-01-06 10:43:14 +00:00

22 lines
805 B
Diff

--- a/pueue/Cargo.toml
+++ b/pueue/Cargo.toml
@@ -67,7 +67,7 @@ similar-asserts = "1"
# --- Platform specific dependencies ---
# Linux
-[target.'cfg(target_os = "linux")'.dependencies]
+[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
procfs = { version = "0.18", default-features = false }
# Linux + Mac OS
-- a/pueue/src/process_helper/mod.rs
+++ b/pueue/src/process_helper/mod.rs
@@ -21,6 +21,6 @@ pub use self::unix::*;
// Platform specific process support
-#[cfg_attr(target_os = "linux", path = "linux.rs")]
+#[cfg_attr(any(target_os = "linux", target_os = "android"), path = "linux.rs")]
#[cfg_attr(target_vendor = "apple", path = "apple.rs")]
#[cfg_attr(target_os = "windows", path = "windows.rs")]
#[cfg_attr(target_os = "freebsd", path = "freebsd.rs")]