mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-04 09:02:44 +00:00
- Fixes https://github.com/termux/termux-packages/issues/23458 - Rebase `patches.patch` - The update has been tested and confirmed to work: ``` ~ $ pueued & [1] 18711 ~ $ pueue add ls New task added (id 0). ~ $ pueue status Group "default" (1 parallel): running ───────────────────────────────────────────────────────────────────────────────── Id Status Command Path Start End ═════════════════════════════════════════════════════════════════════════════════ 0 Success ls /data/data/com.termux/files/home 04:17:58 04:17:58 ───────────────────────────────────────────────────────────────────────────────── ~ $ pueue log ┌───────────────────────────────────┐ │ Task 0: completed successfully │ └───────────────────────────────────┘ Command: ls Path: /data/data/com.termux/files/home Start: Mon, 14 Jul 2025 04:17:58 +0000 End: Mon, 14 Jul 2025 04:17:58 +0000 output: (last 15 lines) python-static_3.12.11-1_x86_64.deb python-tkinter_3.12.11-1_x86_64.deb python-torch-static_2.6.0-1_x86_64.deb python-torch_2.6.0-1_x86_64.deb python-torchvision_0.21.0-2_x86_64.deb python-yt-dlp_2025.06.30-1_x86_64.deb python_3.12.11-1_x86_64.deb rdiff-backup_2.2.6-3_x86_64.deb sample-local-pdf.pdf termux-packages termux-packages-debpython-maxython test.png test.txt testapp ytui-music_2.0.0-beta-3_x86_64.deb ~ $ ```
22 lines
806 B
Diff
22 lines
806 B
Diff
--- a/pueue/Cargo.toml
|
|
+++ b/pueue/Cargo.toml
|
|
@@ -68,7 +68,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.17", 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")]
|