From a558146e28ab660a00067f224eb61a33fc9302f3 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 24 Sep 2016 12:00:24 +0200 Subject: [PATCH] tor: disable seccomp on aarch64 Fails with: error: 'mcontext_t' has no member named 'M_SYSCALL'. --- srcpkgs/tor/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/tor/template b/srcpkgs/tor/template index 280bcf77f13..128192e58f9 100644 --- a/srcpkgs/tor/template +++ b/srcpkgs/tor/template @@ -16,6 +16,10 @@ homepage="http://www.torproject.org/" distfiles="https://www.torproject.org/dist/tor-$version.tar.gz" checksum=b1af02c61253dcdb4e1a4f552adaba4e07aed0e5468e45c0764550161480e3de +case "$XBPS_TARGET_MACHINE" in + aarch64*) configure_args="--disable-seccomp";; +esac + post_install() { # Use our own default config file. vinstall ${FILESDIR}/torrc 640 etc/tor