diff --git a/root-packages/keyutils/build.sh b/root-packages/keyutils/build.sh index 962413f1f7..49078d879e 100644 --- a/root-packages/keyutils/build.sh +++ b/root-packages/keyutils/build.sh @@ -3,11 +3,13 @@ TERMUX_PKG_DESCRIPTION="Utilities to control the kernel key management facility" TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=1.6.3 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=a61d5706136ae4c05bd48f86186bcfdbd88dd8bd5107e3e195c924cfc1b39bb4 TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure() { CPPFLAGS+=" -Dindex=strchr -Drindex=strrchr" + # From https://bugs.gentoo.org/914637 to fix build with current toolchain: + LDFLAGS+=" -Wl,--undefined-version" }