From c610faede5b367ee2b9ab887d8f3eda761da5e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 18 Jan 2021 21:47:38 +0100 Subject: [PATCH] Aegisub: cross is broken --- srcpkgs/Aegisub/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/Aegisub/template b/srcpkgs/Aegisub/template index 9f38b0e37c..580dde47a0 100644 --- a/srcpkgs/Aegisub/template +++ b/srcpkgs/Aegisub/template @@ -32,9 +32,15 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then configure_args+=" --with-libatomic" fi +if [ "$CROSS_BUILD" ]; then + # When cross building the detection of iconv const parameters is wrong + configure_args+=" agi_cv_with_iconv_const=no" + # and cross is broken because of boost::icu_regex_trais anyway ... + broken="/usr/aarch64-linux-gnu/usr/include/boost/regex/v4/perl_matcher_common.hpp:512: undefined reference to 'boost ::icu_regex_traits::isctype(int, unsigned long) const'" +fi + case "$XBPS_TARGET_MACHINE" in *musl) broken="segfaults on startup";; - armv7l*|armv6l*) broken="error: invalid conversion from 'const char**' to 'char**' [-fpermissive]" esac post_extract() {