From 3e167a401e79c8daf3b62b3bb5c16ba531cda944 Mon Sep 17 00:00:00 2001 From: ellieplayswow <164806095+ellieplayswow@users.noreply.github.com> Date: Sun, 22 Jun 2025 13:28:48 +0100 Subject: [PATCH] fix(cosmic-text): pin cosmic-text to b017d7c (via cosmic-term issue #508) --- Cargo.lock | 2 +- Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 51d3bef..b8b8381 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1535,7 +1535,7 @@ dependencies = [ [[package]] name = "cosmic-text" version = "0.14.2" -source = "git+https://github.com/pop-os/cosmic-text.git#c597f3755b5480678053dce1f47bb11b98b43aa2" +source = "git+https://github.com/pop-os/cosmic-text//?rev=b017d7c#b017d7c856aed4b1a3ef0952df75d02d889a1f7b" dependencies = [ "bitflags 2.9.1", "cosmic_undo_2", diff --git a/Cargo.toml b/Cargo.toml index eba9a86..16f931e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,6 +67,10 @@ onig_sys = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" # https://github.com/smol-rs/polling/pull/235 polling = { git = "https://github.com/jackpot51/polling.git", branch = "master" } +# See https://github.com/pop-os/cosmic-edit/issues/365 & https://github.com/pop-os/cosmic-term/issues/508 +[patch.'https://github.com/pop-os/cosmic-text'] +cosmic-text = { git = "https://github.com/pop-os/cosmic-text//", rev = "b017d7c" } + # [patch.'https://github.com/pop-os/libcosmic'] # libcosmic = { path = "../libcosmic" } # cosmic-config = { path = "../libcosmic/cosmic-config" }