git: a104e2d0db3b - main - games/veloren-weekly: update to s20240710

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Thu, 11 Jul 2024 00:52:59 UTC
The branch main has been updated by jbeich:

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

commit a104e2d0db3ba461ea2010b40178a8224e2c1622
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-07-10 22:07:53 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-07-11 00:50:40 +0000

    games/veloren-weekly: update to s20240710
    
    Changes:        https://gitlab.com/veloren/veloren/-/compare/a3ef7ddf9...9452500f1
---
 games/veloren-weekly/Makefile              |  4 ++--
 games/veloren-weekly/Makefile.crates       |  4 ++--
 games/veloren-weekly/distinfo              | 14 +++++++-------
 games/veloren-weekly/files/patch-rust-1.79 | 23 +++++++++++++++++++++++
 4 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile
index c994d5b44d50..766512017763 100644
--- a/games/veloren-weekly/Makefile
+++ b/games/veloren-weekly/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	veloren
-PORTVERSION=	s20240630
+PORTVERSION=	s20240710
 CATEGORIES=	games wayland
 PKGNAMESUFFIX=	-weekly
 
@@ -26,7 +26,7 @@ RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-pl
 USES=		cargo xorg
 USE_XORG=	xcb
 USE_GITLAB=	yes
-GL_TAGNAME=	v0.16.0-306-ga3ef7ddf9 # git describe --match='v[0-9]*' weekly
+GL_TAGNAME=	v0.16.0-361-g9452500f1 # git describe --match='v[0-9]*' weekly
 CARGO_ENV=	VELOREN_USERDATA_STRATEGY=system SHADERC_LIB_DIR="${LOCALBASE}/lib"
 PLIST_FILES=	bin/${PORTNAME}-server-cli \
 		bin/${PORTNAME}-voxygen \
diff --git a/games/veloren-weekly/Makefile.crates b/games/veloren-weekly/Makefile.crates
index bf9cd859b183..3fd3f1bd1567 100644
--- a/games/veloren-weekly/Makefile.crates
+++ b/games/veloren-weekly/Makefile.crates
@@ -343,7 +343,7 @@ CARGO_CRATES=	ab_glyph-0.2.27 \
 		libloading-0.7.4 \
 		libloading-0.8.4 \
 		libm-0.2.8 \
-		libmimalloc-sys-0.1.39 \
+		libmimalloc-sys-0.1.38 \
 		libredox-0.0.2 \
 		libredox-0.1.3 \
 		libsqlite3-sys-0.28.0 \
@@ -374,7 +374,7 @@ CARGO_CRATES=	ab_glyph-0.2.27 \
 		memoffset-0.6.5 \
 		memoffset-0.9.1 \
 		metal-0.27.0 \
-		mimalloc-0.1.43 \
+		mimalloc-0.1.42 \
 		mime-0.3.17 \
 		minifb-0.27.0 \
 		minimal-lexical-0.2.1 \
diff --git a/games/veloren-weekly/distinfo b/games/veloren-weekly/distinfo
index 6b224e154b2e..ccb5515d1352 100644
--- a/games/veloren-weekly/distinfo
+++ b/games/veloren-weekly/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1719790053
+TIMESTAMP = 1720649273
 SHA256 (rust/crates/ab_glyph-0.2.27.crate) = 1c3a1cbc201cc13ed06cf875efb781f2249b3677f5c74571b67d817877f9d697
 SIZE (rust/crates/ab_glyph-0.2.27.crate) = 19562
 SHA256 (rust/crates/ab_glyph_rasterizer-0.1.8.crate) = c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046
@@ -689,8 +689,8 @@ SHA256 (rust/crates/libloading-0.8.4.crate) = e310b3a6b5907f99202fcdb4960ff45b93
 SIZE (rust/crates/libloading-0.8.4.crate) = 28636
 SHA256 (rust/crates/libm-0.2.8.crate) = 4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058
 SIZE (rust/crates/libm-0.2.8.crate) = 113450
-SHA256 (rust/crates/libmimalloc-sys-0.1.39.crate) = 23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44
-SIZE (rust/crates/libmimalloc-sys-0.1.39.crate) = 198523
+SHA256 (rust/crates/libmimalloc-sys-0.1.38.crate) = 0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6
+SIZE (rust/crates/libmimalloc-sys-0.1.38.crate) = 196009
 SHA256 (rust/crates/libredox-0.0.2.crate) = 3af92c55d7d839293953fcd0fda5ecfe93297cfde6ffbdec13b41d99c0ba6607
 SIZE (rust/crates/libredox-0.0.2.crate) = 4538
 SHA256 (rust/crates/libredox-0.1.3.crate) = c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d
@@ -751,8 +751,8 @@ SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb4486776
 SIZE (rust/crates/memoffset-0.9.1.crate) = 9032
 SHA256 (rust/crates/metal-0.27.0.crate) = c43f73953f8cbe511f021b58f18c3ce1c3d1ae13fe953293e13345bf83217f25
 SIZE (rust/crates/metal-0.27.0.crate) = 3028990
-SHA256 (rust/crates/mimalloc-0.1.43.crate) = 68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633
-SIZE (rust/crates/mimalloc-0.1.43.crate) = 4075
+SHA256 (rust/crates/mimalloc-0.1.42.crate) = e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176
+SIZE (rust/crates/mimalloc-0.1.42.crate) = 4079
 SHA256 (rust/crates/mime-0.3.17.crate) = 6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a
 SIZE (rust/crates/mime-0.3.17.crate) = 15712
 SHA256 (rust/crates/minifb-0.27.0.crate) = b0c470a74618b43cd182c21b3dc1e6123501249f3bad9a0085e95d1304ca2478
@@ -1669,5 +1669,5 @@ SHA256 (Imberflur-iced-veloren-winit-0.28_GH0.tar.gz) = ff1056ad3df5df0604440a4a
 SIZE (Imberflur-iced-veloren-winit-0.28_GH0.tar.gz) = 1130634
 SHA256 (xMAC94x-portpicker-rs-df6b37872f3586ac3b21d08b56c8ec7cd92fb172_GH0.tar.gz) = 29252101e189bbe067f0bacba18181afc69a2fb9bc031bbba8dcbade45dec02f
 SIZE (xMAC94x-portpicker-rs-df6b37872f3586ac3b21d08b56c8ec7cd92fb172_GH0.tar.gz) = 2210
-SHA256 (veloren-v0.16.0-306-ga3ef7ddf9.tar.bz2) = b8d4871934030840ac74a827f04a723c8bf5165d72ac6fde038852007051aaa6
-SIZE (veloren-v0.16.0-306-ga3ef7ddf9.tar.bz2) = 299991582
+SHA256 (veloren-v0.16.0-361-g9452500f1.tar.bz2) = c8f3ccdd2eebfd579d93d725b60967dd3ea2d576479b5ee5693df0be8ee57d74
+SIZE (veloren-v0.16.0-361-g9452500f1.tar.bz2) = 299985255
diff --git a/games/veloren-weekly/files/patch-rust-1.79 b/games/veloren-weekly/files/patch-rust-1.79
new file mode 100644
index 000000000000..52d0eb68ce87
--- /dev/null
+++ b/games/veloren-weekly/files/patch-rust-1.79
@@ -0,0 +1,23 @@
+Partially revert https://gitlab.com/veloren/veloren/-/commit/a698a7d46ed7
+until lang/rust >= 1.80 update
+
+error[E0658]: use of unstable library feature 'option_take_if'
+    --> common/src/comp/inventory/item/mod.rs:1622:22
+     |
+1622 |                     .take_if(|contained_item| matches!(contained_item.quality(), Quality::Debug));
+     |                      ^^^^^^^
+     |
+     = note: see issue #98934 <https://github.com/rust-lang/rust/issues/98934> for more information
+     = help: add `#![feature(option_take_if)]` to the crate attributes to enable
+     = note: this compiler was built on 2024-06-10; consider upgrading it if it is out of date
+
+--- common/src/lib.rs.orig	2024-07-10 22:07:53 UTC
++++ common/src/lib.rs
+@@ -7,6 +7,7 @@
+     associated_type_defaults,
+     fundamental,
+     let_chains,
++    option_take_if,
+     option_zip,
+     trait_alias,
+     type_alias_impl_trait,