aports/community/broot/syntect-without-onig.patch
2022-07-08 00:32:45 +02:00

9 lines
400 B
Diff

Build syntect with Rust's regex crate instead of oniguruma (a C library).
The reason is that broot already depends on the regex crate.
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58 +58 @@
-syntect = { package = "syntect-no-panic", version = "4.6.1" } # see issue #485
+syntect = { package = "syntect-no-panic", version = "4.6.1", default-features = false, features = ["default-fancy"] } # see issue #485