git: 90ca4606655b - main - multimedia/gstreamer1-plugins-rust: temp disable CSOUND on aarch64

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 20:44:22 UTC
The branch main has been updated by jbeich:

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

commit 90ca4606655b40d0be1abb162e087ec23a971792
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-04 20:41:21 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-04 20:42:12 +0000

    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
---
 multimedia/gstreamer1-plugins-rust/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 83ccb89b67f5..df47e9a26eef 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -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