From fc85515836d7fd09e75bcb5906cbbdfd734f8d31 Mon Sep 17 00:00:00 2001 From: termux-pacman-bot Date: Tue, 18 Jun 2024 11:37:28 +0000 Subject: [PATCH] fix(root/keyutils): Fix build with current toolchain --- root-packages/keyutils/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" }