summaryrefslogtreecommitdiff
path: root/textproc/difftastic
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/difftastic')
-rw-r--r--textproc/difftastic/Makefile7
-rw-r--r--textproc/difftastic/distinfo12
-rw-r--r--textproc/difftastic/files/patch-jemalloc16
3 files changed, 19 insertions, 16 deletions
diff --git a/textproc/difftastic/Makefile b/textproc/difftastic/Makefile
index f547c4ecd0cd..4873f15fac85 100644
--- a/textproc/difftastic/Makefile
+++ b/textproc/difftastic/Makefile
@@ -1,6 +1,6 @@
PORTNAME= difftastic
-DISTVERSION= 0.64.0
-PORTREVISION= 2
+DISTVERSION= 0.65.0
+PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= amdmi3@FreeBSD.org
@@ -149,7 +149,7 @@ CARGO_CRATES= ahash-0.8.11 \
tree-sitter-php-0.23.11 \
tree-sitter-python-0.23.5 \
tree-sitter-ruby-0.23.1 \
- tree-sitter-rust-0.23.2 \
+ tree-sitter-rust-orchard-0.13.0 \
tree-sitter-scala-0.23.3 \
tree-sitter-swift-0.7.0 \
tree-sitter-toml-ng-0.7.0 \
@@ -157,6 +157,7 @@ CARGO_CRATES= ahash-0.8.11 \
tree-sitter-verilog-1.0.3 \
tree-sitter-xml-0.7.0 \
tree-sitter-yaml-0.7.0 \
+ tree-sitter-zig-1.1.2 \
tree_magic_mini-3.1.6 \
typed-arena-2.0.2 \
unicode-ident-1.0.12 \
diff --git a/textproc/difftastic/distinfo b/textproc/difftastic/distinfo
index 314bc3aed507..1d78e13f88d6 100644
--- a/textproc/difftastic/distinfo
+++ b/textproc/difftastic/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1750086248
+TIMESTAMP = 1758711380
SHA256 (rust/crates/ahash-0.8.11.crate) = e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011
SIZE (rust/crates/ahash-0.8.11.crate) = 43607
SHA256 (rust/crates/aho-corasick-1.1.3.crate) = 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
@@ -263,8 +263,8 @@ SHA256 (rust/crates/tree-sitter-python-0.23.5.crate) = 70beaa47e19e1529e8787fc0a
SIZE (rust/crates/tree-sitter-python-0.23.5.crate) = 174528
SHA256 (rust/crates/tree-sitter-ruby-0.23.1.crate) = be0484ea4ef6bb9c575b4fdabde7e31340a8d2dbc7d52b321ac83da703249f95
SIZE (rust/crates/tree-sitter-ruby-0.23.1.crate) = 512753
-SHA256 (rust/crates/tree-sitter-rust-0.23.2.crate) = a4d64d449ca63e683c562c7743946a646671ca23947b9c925c0cfbe65051a4af
-SIZE (rust/crates/tree-sitter-rust-0.23.2.crate) = 343880
+SHA256 (rust/crates/tree-sitter-rust-orchard-0.13.0.crate) = 42e06f00ca89feba4d7455e95b61b9019a979a380527297fab0c461e2e13c264
+SIZE (rust/crates/tree-sitter-rust-orchard-0.13.0.crate) = 610064
SHA256 (rust/crates/tree-sitter-scala-0.23.3.crate) = ab837c0df7ffb6c315fd1cd792164375b3ec0c282ea35f639231f138044f8d0c
SIZE (rust/crates/tree-sitter-scala-0.23.3.crate) = 1035228
SHA256 (rust/crates/tree-sitter-swift-0.7.0.crate) = bdc72ea9c62a6d188c9f7d64109a9b14b09231852b87229c68c44e8738b9e6b9
@@ -279,6 +279,8 @@ SHA256 (rust/crates/tree-sitter-xml-0.7.0.crate) = e670041f591d994f54d597ddcd8f4
SIZE (rust/crates/tree-sitter-xml-0.7.0.crate) = 75507
SHA256 (rust/crates/tree-sitter-yaml-0.7.0.crate) = d0c99f2b92b677f1a18b6b232fa9329afb5758118238a7d0b29cae324ef50d5e
SIZE (rust/crates/tree-sitter-yaml-0.7.0.crate) = 101403
+SHA256 (rust/crates/tree-sitter-zig-1.1.2.crate) = ab11fc124851b0db4dd5e55983bbd9631192e93238389dcd44521715e5d53e28
+SIZE (rust/crates/tree-sitter-zig-1.1.2.crate) = 212493
SHA256 (rust/crates/tree_magic_mini-3.1.6.crate) = aac5e8971f245c3389a5a76e648bfc80803ae066a1243a75db0064d7c1129d63
SIZE (rust/crates/tree_magic_mini-3.1.6.crate) = 14869
SHA256 (rust/crates/typed-arena-2.0.2.crate) = 6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a
@@ -351,5 +353,5 @@ SHA256 (rust/crates/zerocopy-0.7.32.crate) = 74d4d3961e53fa4c9a25a8637fc2bfaf259
SIZE (rust/crates/zerocopy-0.7.32.crate) = 151096
SHA256 (rust/crates/zerocopy-derive-0.7.32.crate) = 9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6
SIZE (rust/crates/zerocopy-derive-0.7.32.crate) = 37623
-SHA256 (Wilfred-difftastic-0.64.0_GH0.tar.gz) = 54c7c93309ff9a2cbe87153ac1d16e80bacac4042c80f6b7206e9b71a6f10d0b
-SIZE (Wilfred-difftastic-0.64.0_GH0.tar.gz) = 25362833
+SHA256 (Wilfred-difftastic-0.65.0_GH0.tar.gz) = 59462f69e2cedfdc1bee4fd0da48fe9a7ae635cdb6818c1a300b31c0b146d4b8
+SIZE (Wilfred-difftastic-0.65.0_GH0.tar.gz) = 24632733
diff --git a/textproc/difftastic/files/patch-jemalloc b/textproc/difftastic/files/patch-jemalloc
index d4b2d2c034cf..f80eab3f65fa 100644
--- a/textproc/difftastic/files/patch-jemalloc
+++ b/textproc/difftastic/files/patch-jemalloc
@@ -1,28 +1,28 @@
Upstream has switched from mimalloc to jemalloc in 0.64.0, but
tikv-jemallocator does not currently build on FreeBSD, so just
switch it to system allocator which is jemalloc anyway.
---- Cargo.toml.orig 2025-06-15 21:48:50 UTC
+--- Cargo.toml.orig 2025-09-24 03:24:08 UTC
+++ Cargo.toml
-@@ -106,7 +106,7 @@ tree-sitter-yaml = "0.7.0"
- tree-sitter-xml = "0.7.0"
+@@ -110,7 +110,7 @@ tree-sitter-zig = "1.1.2"
tree-sitter-yaml = "0.7.0"
+ tree-sitter-zig = "1.1.2"
--[target.'cfg(not(target_env = "msvc"))'.dependencies]
+-[target.'cfg(not(any(target_env = "msvc", target_os = "illumos")))'.dependencies]
+[target.'cfg(not(any(target_env = "msvc", target_os = "freebsd")))'.dependencies]
tikv-jemallocator = "0.6"
[dev-dependencies]
---- src/main.rs.orig 2025-06-15 21:48:50 UTC
+--- src/main.rs.orig 2025-09-24 03:24:08 UTC
+++ src/main.rs
-@@ -86,10 +86,10 @@ use crate::parse::syntax;
+@@ -91,10 +91,10 @@ use crate::parse::syntax;
///
/// For reference, Jemalloc uses 10-20% more time (although up to 33%
/// more instructions) when testing on sample files.
--#[cfg(not(target_env = "msvc"))]
+-#[cfg(not(any(target_env = "msvc", target_os = "illumos")))]
+#[cfg(not(any(target_env = "msvc", target_os = "freebsd")))]
use tikv_jemallocator::Jemalloc;
--#[cfg(not(target_env = "msvc"))]
+-#[cfg(not(any(target_env = "msvc", target_os = "illumos")))]
+#[cfg(not(any(target_env = "msvc", target_os = "freebsd")))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;