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)
This commit is contained in:
Mikael Urankar 2025-08-25 13:52:56 +02:00
parent ea3bd22c42
commit faa0ae4c94
1 changed files with 10 additions and 0 deletions

View File

@ -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;