From c704aa006b666ca063b57756e9111f238f5a21fa Mon Sep 17 00:00:00 2001 From: ormorph Date: Sun, 25 Jun 2023 07:06:52 +0300 Subject: Adding patches for ksysguard, kcheckpass and tdm for stable ebuilds, fix issue #299 This resolves FTBFS - see issue TDE/tde-packaging-gentoo#299. Adds detection and optionally a prototype for strlcat and strlcpy for ksysguard and kcheckpass. It also adds an include for the ioctl() prototype in tdm. The absence of these prototypes results in a build error with some compilers. Signed-off-by: ormorph --- trinity-base/tdm/tdm-14.1.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'trinity-base/tdm/tdm-14.1.0.ebuild') diff --git a/trinity-base/tdm/tdm-14.1.0.ebuild b/trinity-base/tdm/tdm-14.1.0.ebuild index 1787b8af..7cdadc93 100644 --- a/trinity-base/tdm/tdm-14.1.0.ebuild +++ b/trinity-base/tdm/tdm-14.1.0.ebuild @@ -35,6 +35,11 @@ pkg_setup() { use sak && TRINITY_SUBMODULE+=" tsak" } +src_prepare() { + eapply "${FILESDIR}/${PN}-ioctl.patch" + trinity-meta-2_src_prepare +} + src_configure() { local mycmakeargs=( -DWITH_XTEST=ON -- cgit v1.2.1