From 70d9cc0d84a230e1ec7aa65d0386d0834a914b15 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Wed, 13 Oct 2021 16:30:00 +0200 Subject: [PATCH] net-im/libsignal-client: Fix build on aarch64 aarch64 still uses unstable features: error[E0554]: `#![feature]` may not be used on the stable release channel --> /usr/ports/net-im/libsignal-client/work/libsignal-client-0.9.6/cargo-crates/polyval-0.5.1/src/lib.rs:80:5 80 | feature(stdsimd, aarch64_target_feature) --> /usr/ports/net-im/libsignal-client/work/libsignal-client-0.9.6/cargo-crates/aes-0.7.4/src/lib.rs:87:5 7 | feature(stdsimd, aarch64_target_feature) PR: 258371 Approved by: 0mp (maintainer) --- net-im/libsignal-client/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net-im/libsignal-client/Makefile b/net-im/libsignal-client/Makefile index 4f4180197751..ddfe854f901a 100644 --- a/net-im/libsignal-client/Makefile +++ b/net-im/libsignal-client/Makefile @@ -238,7 +238,8 @@ CARGO_USE_GITHUB= yes CARGO_BUILD_ARGS= --package libsignal-jni MAKE_ENV= CARGO_PROFILE_RELEASE_LTO=thin \ OPENSSL_INCLUDE_DIR=${OPENSSLINC} \ - OPENSSL_LIB_DIR=${OPENSSLLIB} + OPENSSL_LIB_DIR=${OPENSSLLIB} \ + RUSTC_BOOTSTRAP=aes,polyval PLIST_FILES= lib/libsignal_jni.so do-install: