multimedia/gstreamer1-plugins-rust: temp disable CSOUND on aarch64

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:382:27
    |
382 |             device_name: [0i8; 64usize],
    |                           ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
382 |             device_name: [0u8; 64usize],
    |                           ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:383:25
    |
383 |             device_id: [0i8; 64usize],
    |                         ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
383 |             device_id: [0u8; 64usize],
    |                         ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:384:25
    |
384 |             rt_module: [0i8; 64usize],
    |                         ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
384 |             rt_module: [0u8; 64usize],
    |                         ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:434:27
    |
434 |             device_name: [0i8; 64usize],
    |                           ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
434 |             device_name: [0u8; 64usize],
    |                           ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:435:30
    |
435 |             interface_name: [0i8; 64usize],
    |                              ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
435 |             interface_name: [0u8; 64usize],
    |                              ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:436:25
    |
436 |             device_id: [0i8; 64usize],
    |                         ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
436 |             device_id: [0u8; 64usize],
    |                         ^^^

error[E0308]: mismatched types
   --> cargo-crates/csound-sys-0.1.2/src/lib.rs:437:27
    |
437 |             midi_module: [0i8; 64usize],
    |                           ^^^ expected `u8`, found `i8`
    |
help: change the type of the numeric literal from `i8` to `u8`
    |
437 |             midi_module: [0u8; 64usize],
    |                           ^^^

Reported by:	pkg-fallout
This commit is contained in:
Jan Beich 2021-12-04 20:41:21 +00:00
parent a2688a93bf
commit 90ca460665
1 changed files with 1 additions and 2 deletions

View File

@ -11,8 +11,6 @@ LICENSE_COMB= multi
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSE-LGPLv2
BROKEN_aarch64= fails to build: device_name: [0i8; 64usize], expected `u8`, found `i8`
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c
USES= cargo gnome meson pkgconfig ssl
@ -402,6 +400,7 @@ CARGO_TEST= no
OPTIONS_DEFINE= CSOUND DAV1D PANGO SODIUM
OPTIONS_DEFAULT=CSOUND DAV1D PANGO SODIUM
OPTIONS_EXCLUDE_aarch64= CSOUND # https://github.com/neithanmo/csound-rs/commit/8962b89d7bda
OPTIONS_SUB= yes
CSOUND_DESC= Audio filtering via Csound