aboutsummaryrefslogtreecommitdiffstats
path: root/community/broot/syntect-without-onig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/broot/syntect-without-onig.patch')
-rw-r--r--community/broot/syntect-without-onig.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/broot/syntect-without-onig.patch b/community/broot/syntect-without-onig.patch
new file mode 100644
index 00000000000..691d8c33f10
--- /dev/null
+++ b/community/broot/syntect-without-onig.patch
@@ -0,0 +1,8 @@
+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