diff --git a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.14-xmlsec-include.patch b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.14-xmlsec-include.patch new file mode 100644 index 0000000000000..884e2775971e9 --- /dev/null +++ b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.14-xmlsec-include.patch @@ -0,0 +1,21 @@ +From e24aacac6e1443f97259d2e28dd6e3f9ea8c4225 Mon Sep 17 00:00:00 2001 +From: Paul Zander +Date: Sun, 1 Nov 2026 15:58:15 +0100 +Subject: fix implicit-function-declaration + +Bug: https://bugs.gentoo.org/985360 + +diff --git a/libpskc/global.c b/libpskc/global.c +index 2b1b5af..6336078 100644 +--- a/libpskc/global.c ++++ b/libpskc/global.c +@@ -30,6 +30,7 @@ + #ifdef USE_XMLSEC + # include + # include ++# include + #endif + + static int _pskc_init = 0; +-- +2.56.0 diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild index 6fd840530d02c..3d0055adeefee 100644 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild @@ -44,6 +44,10 @@ QA_CONFIG_IMPL_DECL_SKIP=( unreachable ) +PATCHES=( + "${FILESDIR}"/${PN}-2.6.14-xmlsec-include.patch +) + src_prepare() { default