Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 11:03:22 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 21864bd771b2 - main - x11/clipcat: Fix build with rust 1.81.0
Message-ID:  <202409101103.48AB3Mtj088224@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=21864bd771b228b769092b58e8a0bbec901ecd9c

commit 21864bd771b228b769092b58e8a0bbec901ecd9c
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-09-09 08:59:56 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-09-10 10:54:53 +0000

    x11/clipcat: Fix build with rust 1.81.0
    
    PR:             281300
---
 x11/clipcat/files/patch-rust-1.81.0 | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/x11/clipcat/files/patch-rust-1.81.0 b/x11/clipcat/files/patch-rust-1.81.0
new file mode 100644
index 000000000000..57a9d1b120ab
--- /dev/null
+++ b/x11/clipcat/files/patch-rust-1.81.0
@@ -0,0 +1,30 @@
+--- Cargo.toml.orig	2024-08-10 05:32:35 UTC
++++ Cargo.toml
+@@ -122,7 +122,6 @@ async_fn_in_trait = "allow"
+ 
+ [workspace.lints.rust]
+ async_fn_in_trait = "allow"
+-box_pointers      = "allow"
+ 
+ # TODO: deny `unused_crate_dependencies` after https://github.com/rust-lang/rust/issues/95513 being solved
+ unused_crate_dependencies = "allow"
+--- crates/proto/build.rs.orig	2024-09-07 13:10:31 UTC
++++ crates/proto/build.rs
+@@ -6,7 +6,6 @@ fn prost_config() -> Config {
+     config
+ }
+ 
+-#[allow(box_pointers)]
+ fn main() -> Result<(), Box<dyn std::error::Error>> {
+     tonic_build::configure().compile_with_config(
+         prost_config(),
+--- crates/proto/src/lib.rs.orig	2024-09-07 13:11:02 UTC
++++ crates/proto/src/lib.rs
+@@ -2,7 +2,6 @@ mod proto {
+ mod proto {
+     // SAFETY: allow: prost
+     #![allow(
+-        box_pointers,
+         unreachable_pub,
+         unused_qualifications,
+         unused_results,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409101103.48AB3Mtj088224>