https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274499

--- Comment #10 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

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

commit 3e99d4e978144e6e424bda44e3041abfc6cc92bf
Author:     Mikael Urankar <mik...@freebsd.org>
AuthorDate: 2023-10-16 10:39:44 +0000
Commit:     Mikael Urankar <mik...@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.

Reply via email to