git: c550d42275d3 - main - x11/clipcat: Fix build with rust 1.89.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Sep 2025 08:26:05 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c550d42275d3bf1327e23aac98124a9b1ebd6d5e
commit c550d42275d3bf1327e23aac98124a9b1ebd6d5e
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-08-25 11:54:48 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-09-01 08:24:04 +0000
x11/clipcat: 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)
---
x11/clipcat/files/patch-rust-1.89.0 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/x11/clipcat/files/patch-rust-1.89.0 b/x11/clipcat/files/patch-rust-1.89.0
new file mode 100644
index 000000000000..66f0f73b7b32
--- /dev/null
+++ b/x11/clipcat/files/patch-rust-1.89.0
@@ -0,0 +1,9 @@
+--- crates/server/src/notification/dummy.rs.orig 2025-08-22 08:47:55 UTC
++++ crates/server/src/notification/dummy.rs
+@@ -1,5 +1,6 @@
+ use crate::notification::traits;
+
++#[allow(dead_code)]
+ #[derive(Clone, Copy, Debug, Default)]
+ pub struct Notification {}
+