Attached. Thank you, Jeremy Bícha
From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <[email protected]> Date: Thu, 2 Oct 2025 15:02:05 -0400 Subject: Disable Windows dependencies
Closes: #1117044 --- debian/control | 1 - debian/patches/disable-windows.patch | 20 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 debian/patches/disable-windows.patch create mode 100644 debian/patches/series diff --git a/debian/control b/debian/control index 775ea0a..93c6e22 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,6 @@ Build-Depends: dh-sequence-cargo, cargo:native <!nocheck>, librust-libc-dev <!nocheck>, - librust-winapi-dev <!nocheck>, libstd-rust-dev <!nocheck>, rustc:native (>= 1.66) <!nocheck>, Standards-Version: 4.7.2 diff --git a/debian/patches/disable-windows.patch b/debian/patches/disable-windows.patch new file mode 100644 index 0000000..ea80fdf --- /dev/null +++ b/debian/patches/disable-windows.patch @@ -0,0 +1,20 @@ +From: =?utf-8?q?Jeremy_B=C3=ADcha?= <[email protected]> +Date: Thu, 2 Oct 2025 15:01:35 -0400 +Subject: Disable Windows dependencies + +--- + Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Cargo.toml b/Cargo.toml +index 752f5f4..fb38797 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -36,6 +36,6 @@ repository = "https://github.com/de-vri-es/terminal-prompt-rs" + [target."cfg(unix)".dependencies.libc] + version = "0.2.147" + +-[target."cfg(windows)".dependencies.winapi] ++[disabled.target."cfg(windows)".dependencies.winapi] + version = "0.3.9" + features = ["consoleapi"] diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..2994044 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +disable-windows.patch

