From 496806acd3a061fedfcb5ae0ebb43f483d54308b Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Thu, 7 Feb 2019 03:31:40 +0200 Subject: [PATCH] xarchiver: force link with libandroid-shmem Prevents "Bad system call" on Android 8. --- x11-packages/xarchiver/build.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/x11-packages/xarchiver/build.sh b/x11-packages/xarchiver/build.sh index c474c88e0..2a0b36269 100644 --- a/x11-packages/xarchiver/build.sh +++ b/x11-packages/xarchiver/build.sh @@ -3,8 +3,12 @@ TERMUX_PKG_DESCRIPTION="GTK+ frontend to various command line archivers" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Leonid Plyushch @xeffyr" TERMUX_PKG_VERSION=0.5.4.13 -TERMUX_PKG_REVISION=5 +TERMUX_PKG_REVISION=6 TERMUX_PKG_SRCURL=https://github.com/ib/xarchiver/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=617154435731554b793ab00cc373d957c066dc29444c6189029299a89430776c -TERMUX_PKG_DEPENDS="binutils, bzip2, cpio, gtk3, gzip, lzip, lzop, p7zip, tar, unrar, unzip, xz-utils, zip, zstd" +TERMUX_PKG_DEPENDS="atk, binutils, bzip2, cpio, glib, gtk3, gzip, libandroid-shmem, libcairo-x, lzip, lzop, p7zip, tar, unrar, unzip, xz-utils, zip, zstd" TERMUX_PKG_RM_AFTER_INSTALL="share/icons/hicolor/icon-theme.cache" + +termux_step_pre_configure() { + export LIBS="-landroid-shmem" +}