git: d0c14d04136e - main - games/veloren-weekly: Fix build with rust 1.75.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Jan 2024 12:16:05 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d0c14d04136e43828d0c8184efc8d9105c9fd502
commit d0c14d04136e43828d0c8184efc8d9105c9fd502
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-12-31 09:31:25 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-01-09 12:15:37 +0000
games/veloren-weekly: Fix build with rust 1.75.0
error[E0557]: feature has been removed
--> rtsim/src/lib.rs:5:5
|
5 | generators,
| ^^^^^^^^^^ feature has been removed
|
= note: renamed to `coroutines`
error[E0635]: unknown feature `generator_trait`
--> rtsim/src/lib.rs:4:5
|
4 | generator_trait,
PR: 276033
Approved by: portmgr (build fix blanket)
---
games/veloren-weekly/files/patch-rust-1.75.0 | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/games/veloren-weekly/files/patch-rust-1.75.0 b/games/veloren-weekly/files/patch-rust-1.75.0
new file mode 100644
index 000000000000..1bee42c6caaf
--- /dev/null
+++ b/games/veloren-weekly/files/patch-rust-1.75.0
@@ -0,0 +1,12 @@
+--- rtsim/src/lib.rs.orig 2023-12-31 09:26:17 UTC
++++ rtsim/src/lib.rs
+@@ -1,8 +1,7 @@
+ #![feature(
+ never_type,
+ try_blocks,
+- generator_trait,
+- generators,
++ coroutines,
+ trait_alias,
+ trait_upcasting,
+ control_flow_enum,