Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2024 14:36:41 GMT
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: ee340a5981cb - main - games/jumpy: mark BROKEN with unsigned char after ead5b0f5fcd7
Message-ID:  <202405301436.44UEafuq032175@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

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

commit ee340a5981cbffb4f0334c33e2495cba10322eb3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-30 14:28:40 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-30 14:34:45 +0000

    games/jumpy: mark BROKEN with unsigned char after ead5b0f5fcd7
    
    error[E0308]: mismatched types
       --> cargo-crates/netdev-0.25.0/src/bpf/unix.rs:122:29
        |
    122 |         iface.ifr_name[i] = c as i8;
        |         -----------------   ^^^^^^^ expected `u8`, found `i8`
        |         |
        |         expected due to the type of this binding
    
    error[E0308]: mismatched types
       --> cargo-crates/netdev-0.25.0/src/interface/unix.rs:167:28
        |
    167 |             let nlen: i8 = (*sa).sa_data[3];
        |                       --   ^^^^^^^^^^^^^^^^ expected `i8`, found `u8`
        |                       |
        |                       expected due to this
        |
    help: you can convert a `u8` to an `i8` and panic if the converted value doesn't fit
        |
    167 |             let nlen: i8 = (*sa).sa_data[3].try_into().unwrap();
        |                                            ++++++++++++++++++++
    
    error[E0308]: mismatched types
       --> cargo-crates/netdev-0.25.0/src/interface/unix.rs:168:28
        |
    168 |             let alen: i8 = (*sa).sa_data[4];
        |                       --   ^^^^^^^^^^^^^^^^ expected `i8`, found `u8`
        |                       |
        |                       expected due to this
        |
    help: you can convert a `u8` to an `i8` and panic if the converted value doesn't fit
        |
    168 |             let alen: i8 = (*sa).sa_data[4].try_into().unwrap();
        |                                            ++++++++++++++++++++
    
    For more information about this error, try `rustc --explain E0308`.
    
    Reported by:    pkg-fallout
---
 games/jumpy/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games/jumpy/Makefile b/games/jumpy/Makefile
index 070d5c208894..132349bf34da 100644
--- a/games/jumpy/Makefile
+++ b/games/jumpy/Makefile
@@ -12,6 +12,9 @@ LICENSE_COMB=	multi
 LICENSE_FILE_MIT=	${WRKSRC}/licenses/LICENSE-MIT
 LICENSE_DISTFILES_CC-BY-NC-4.0=	${DISTNAME}${EXTRACT_SUFX}
 
+BROKEN_aarch64=	need https://github.com/shellrow/netdev/pull/71
+BROKEN_armv7=	need https://github.com/shellrow/netdev/pull/71
+
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libudev.so:devel/libudev-devd
 RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405301436.44UEafuq032175>