[Bug 274499] lang/rust: Update to 1.73.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Oct 2023 10:23:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274499
--- Comment #10 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=3e99d4e978144e6e424bda44e3041abfc6cc92bf
commit 3e99d4e978144e6e424bda44e3041abfc6cc92bf
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-10-16 10:39:44 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-10-24 10:21:47 +0000
databases/gobang: Fix build with rust 1.73.0
Import upstream patch to fix the following build error with rust 1.73.0
error[E0308]: mismatched types
-->
/wrkdirs/usr/ports/databases/gobang/work/gobang-0.1.0-alpha.5/cargo-crates/num-bigint-0.3.2/src/biguint/convert.rs:70:19
|
70 | .div_ceil(&big_digit::BITS.into())
| -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_`
| |
| arguments to this method are incorrect
error[E0308]: mismatched types
-->
/wrkdirs/usr/ports/databases/gobang/work/gobang-0.1.0-alpha.5/cargo-crates/num-bigint-0.3.2/src/biguint/convert.rs:585:19
|
585 | .div_ceil(&u64::from(bits))
| -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64`
| |
| arguments to this method are incorrect
PR: 274499
Approved by: portmgr (build fix blanket)
databases/gobang/Makefile | 2 +-
databases/gobang/files/patch-rust-1.73.0 (new) | 64 ++++++++++++++++++++++++++
2 files changed, 65 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.