ports/devel/difftastic/patches/patch-Cargo_toml

21 lines
719 B
Text

Revert to published version of tree_magic_mini. We cannot pull from github during build.
https://github.com/Wilfred/difftastic/commit/b662a2220b9e9eae5f69ecbc31195bcfcc5216e1
Index: Cargo.toml
--- Cargo.toml.orig
+++ Cargo.toml
@@ -54,7 +54,7 @@ const_format = "0.2.22"
owo-colors = "3.5.0"
wu-diff = "0.1.2"
rayon = "1.7.0"
-tree_magic_mini = "3.0.2"
+tree_magic_mini = "3.0.3"
# bumpalo 3.12 requires rust 1.60
bumpalo = "3.11.1"
unicode-width = "0.1.9"
@@ -89,6 +89,3 @@ path = "src/main.rs"
[features]
-[patch.crates-io]
-# https://github.com/mbrubeck/tree_magic/pull/13 hasn't been merged yet.
-tree_magic_mini = { git = 'https://github.com/Wilfred/tree_magic', branch = 'fix-panic-for-empty-strings' }