sys-auth/oath-toolkit: fix build w/ dev-libs/xmlsec-1.3.13

Closes: https://bugs.gentoo.org/985360
Thanks-to: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-11-01 15:40:37 +00:00
parent 67c9f0c16e
commit bf6dec8d28
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,21 @@
From e24aacac6e1443f97259d2e28dd6e3f9ea8c4225 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
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 <xmlsec/xmlsec.h>
# include <xmlsec/crypto.h>
+# include <xmlsec/dl.h>
#endif
static int _pskc_init = 0;
--
2.56.0
@@ -44,6 +44,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
unreachable
)
PATCHES=(
"${FILESDIR}"/${PN}-2.6.14-xmlsec-include.patch
)
src_prepare() {
default