From 0a14fad9ce78cca8346e945700c34498b63f7c28 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Wed, 8 Apr 2020 00:18:01 +0300 Subject: [PATCH] uftrace: update to 0.9.4 --- packages/uftrace/build.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/uftrace/build.sh b/packages/uftrace/build.sh index 81722b6a5..9eb4114e9 100644 --- a/packages/uftrace/build.sh +++ b/packages/uftrace/build.sh @@ -1,17 +1,16 @@ TERMUX_PKG_HOMEPAGE=https://uftrace.github.io/slide TERMUX_PKG_DESCRIPTION="Function (graph) tracer for user-space" TERMUX_PKG_LICENSE="GPL-2.0" -TERMUX_PKG_VERSION=0.9.3 -TERMUX_PKG_REVISION=6 +TERMUX_PKG_VERSION=0.9.4 TERMUX_PKG_SRCURL=https://github.com/namhyung/uftrace/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=d801d72e3cdd83c510aeecc5160482d879498cf08fffd21e64f84151001e18ea -TERMUX_PKG_DEPENDS="capstone, libandroid-glob, libandroid-spawn, libelf, ncurses, python2" +TERMUX_PKG_SHA256=418d30c959d3b6d0dcafd55e588a5d414a9984b30f2522a5af004a268824a5a2 +TERMUX_PKG_DEPENDS="capstone, libandroid-glob, libandroid-spawn, libelf, ncurses, python" TERMUX_PKG_BUILD_DEPENDS="argp" termux_step_pre_configure() { # uftrace uses custom configure script implementation, so we need to provide some flags - export CFLAGS="${CFLAGS} -I${TERMUX_PREFIX}/include -DEFD_SEMAPHORE=1 -DEF_ARM_ABI_FLOAT_HARD=0x400 -w" - export LDFLAGS="${LDFLAGS} -Wl,--wrap=_Unwind_Resume -landroid-glob -largp" + export CFLAGS="${CFLAGS} -I${TERMUX_PREFIX}/include -I${TERMUX_PREFIX}/include/python3.8 -DEFD_SEMAPHORE=1 -DEF_ARM_ABI_FLOAT_HARD=0x400 -w" + export LDFLAGS="${LDFLAGS} -Wl,--wrap=_Unwind_Resume -landroid-glob -largp -lpython3.8" if [ "$TERMUX_ARCH" = "i686" ]; then export ARCH="i386"