ports/devel/difftastic/patches/patch-Cargo_toml

21 lines
726 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
@@ -52,7 +52,7 @@ owo-colors = "3.5.0"
wu-diff = "0.1.2"
# rayon 1.7 requires rust 1.59
rayon = "1.6.1"
-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"
@@ -84,6 +84,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' }