Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2026 09:00:31 +0000
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d1042b220616 - main - games/veloren-weekly: unbreak build after 3c971390fa39
Message-ID:  <69f46baf.1bc0c.522b7cdc@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jbeich:

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

commit d1042b220616cf66957571e1ac98e4f257d130ce
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2026-05-01 07:02:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2026-05-01 09:00:18 +0000

    games/veloren-weekly: unbreak build after 3c971390fa39
    
    error: cannot specialize on trait `Copy`
        --> cargo-crates/hashbrown-0.16.0/src/raw/mod.rs:3269:9
         |
    3269 | impl<T: Copy, A: Allocator + Clone> RawTableClone for RawTable<T, A> {
         |         ^^^^
    
    PR:             294923
    Reported by:    pkg-fallout, Duncan Bayne
    Obtained from:  upstream
---
 games/veloren-weekly/files/patch-rust-1.95 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/games/veloren-weekly/files/patch-rust-1.95 b/games/veloren-weekly/files/patch-rust-1.95
new file mode 100644
index 000000000000..a84fcebebd47
--- /dev/null
+++ b/games/veloren-weekly/files/patch-rust-1.95
@@ -0,0 +1,23 @@
+https://github.com/rust-lang/hashbrown/commit/41e6a490a53c
+
+--- cargo-crates/hashbrown-0.16.0/src/lib.rs.orig	2006-07-24 01:21:28 UTC
++++ cargo-crates/hashbrown-0.16.0/src/lib.rs
+@@ -17,6 +17,7 @@
+         core_intrinsics,
+         dropck_eyepatch,
+         min_specialization,
++        trivial_clone,
+         extend_one,
+         allocator_api,
+         slice_ptr_get,
+--- cargo-crates/hashbrown-0.16.0/src/raw/mod.rs.orig	2006-07-24 01:21:28 UTC
++++ cargo-crates/hashbrown-0.16.0/src/raw/mod.rs
+@@ -3266,7 +3266,7 @@ impl<T: Clone, A: Allocator + Clone> RawTableClone for
+     }
+ }
+ #[cfg(feature = "nightly")]
+-impl<T: Copy, A: Allocator + Clone> RawTableClone for RawTable<T, A> {
++impl<T: core::clone::TrivialClone, A: Allocator + Clone> RawTableClone for RawTable<T, A> {
+     #[cfg_attr(feature = "inline-more", inline)]
+     unsafe fn clone_from_spec(&mut self, source: &Self) {
+         source


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f46baf.1bc0c.522b7cdc>