]> git.proxmox.com Git - debcargo-conf.git/commitdiff
bat: try to lower syntect dep
authorSylvestre Ledru <sylvestre@debian.org>
Sun, 24 Oct 2021 18:00:24 +0000 (20:00 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Sun, 24 Oct 2021 18:02:57 +0000 (20:02 +0200)
src/bat/debian/patches/lower-syntect-dep.diff [new file with mode: 0644]
src/bat/debian/patches/series

diff --git a/src/bat/debian/patches/lower-syntect-dep.diff b/src/bat/debian/patches/lower-syntect-dep.diff
new file mode 100644 (file)
index 0000000..acfbd33
--- /dev/null
@@ -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"]
index b50f1d49f3a9faf9534ea53e3dcda8093be60ce1..a612bee7aaaf4622311e4fee4dd824d27be06560 100644 (file)
@@ -1,3 +1,4 @@
 bump-dep.diff
 disable-bugreport.diff
 bump-semver.diff
+lower-syntect-dep.diff