diff --git a/src/bat/debian/patches/lower-syntect-dep.diff b/src/bat/debian/patches/lower-syntect-dep.diff new file mode 100644 index 0000000..acfbd33 --- /dev/null +++ b/src/bat/debian/patches/lower-syntect-dep.diff @@ -0,0 +1,23 @@ +Index: bat/Cargo.toml +=================================================================== +--- bat.orig/Cargo.toml ++++ bat/Cargo.toml +@@ -98,7 +98,7 @@ version = "1.0.0" + optional = true + + [dependencies.syntect] +-version = "4.5.0" ++version = "3.3" + features = ["parsing", "yaml-load", "dump-load", "dump-create"] + default-features = false + +@@ -127,7 +127,8 @@ version = "2.33" + optional = true + + [features] +-application = ["atty", "clap", "dirs-next", "git", "lazy_static", "paging", "wild", "regex-onig"] ++application = ["atty", "clap", "dirs-next", "git", "lazy_static", "paging", "wild"] ++#, "regex-onig"] + default = ["application"] + git = ["git2"] + paging = ["shell-words"] diff --git a/src/bat/debian/patches/series b/src/bat/debian/patches/series index b50f1d4..a612bee 100644 --- a/src/bat/debian/patches/series +++ b/src/bat/debian/patches/series @@ -1,3 +1,4 @@ bump-dep.diff disable-bugreport.diff bump-semver.diff +lower-syntect-dep.diff