1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 02:05:16 +03:00
aports/community/broot/syntect-without-onig.patch
2022-07-08 00:32:45 +02:00

8 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