git: faa0ae4c9497 - main - sysutils/mdcat: Fix build with rust 1.89.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Sep 2025 07:21:42 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=faa0ae4c9497e3fef8ca5049d9023fc55ba5e825
commit faa0ae4c9497e3fef8ca5049d9023fc55ba5e825
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-08-25 11:52:56 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-09-17 07:16:16 +0000
sysutils/mdcat: Fix build with rust 1.89.0
error: struct `Osc8Links` is never constructed
--> pulldown-cmark-mdcat/src/terminal/osc.rs:24:12
PR: 288923
Approved by: portmgr (build fix blanket)
---
sysutils/mdcat/files/patch-rust-1.89.0 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sysutils/mdcat/files/patch-rust-1.89.0 b/sysutils/mdcat/files/patch-rust-1.89.0
new file mode 100644
index 000000000000..7259465cd798
--- /dev/null
+++ b/sysutils/mdcat/files/patch-rust-1.89.0
@@ -0,0 +1,10 @@
+--- pulldown-cmark-mdcat/src/terminal/osc.rs.orig 2025-08-22 12:28:04 UTC
++++ pulldown-cmark-mdcat/src/terminal/osc.rs
+@@ -20,6 +20,7 @@ pub fn write_osc<W: Write + ?Sized>(writer: &mut W, co
+ Ok(())
+ }
+
++#[allow(dead_code)]
+ #[derive(Debug, PartialEq, Eq, Copy, Clone)]
+ pub struct Osc8Links;
+