tor: disable seccomp on aarch64
Fails with: error: 'mcontext_t' has no member named 'M_SYSCALL'.
This commit is contained in:
@@ -16,6 +16,10 @@ homepage="http://www.torproject.org/"
|
|||||||
distfiles="https://www.torproject.org/dist/tor-$version.tar.gz"
|
distfiles="https://www.torproject.org/dist/tor-$version.tar.gz"
|
||||||
checksum=b1af02c61253dcdb4e1a4f552adaba4e07aed0e5468e45c0764550161480e3de
|
checksum=b1af02c61253dcdb4e1a4f552adaba4e07aed0e5468e45c0764550161480e3de
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
aarch64*) configure_args="--disable-seccomp";;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# Use our own default config file.
|
# Use our own default config file.
|
||||||
vinstall ${FILESDIR}/torrc 640 etc/tor
|
vinstall ${FILESDIR}/torrc 640 etc/tor
|
||||||
|
|||||||
Reference in New Issue
Block a user