Patch: Use updated onig crate

This patch fixes building with GCC 15, as the bundled C oniguruma library had to be updated in rust-onig. The upstream rust-onig project haven't tagged a new release yet.

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
This commit is contained in:
Ryan Brue 2025-03-25 19:19:09 +00:00
parent 08cab645a5
commit fe3b8d7fa9
2 changed files with 10 additions and 2 deletions

View file

@ -59,6 +59,10 @@ wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
inherits = "release"
debug = true
[patch.crates-io]
onig = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" }
onig_sys = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" }
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }