From e1526ec5deacd23d4c780f82459b85d73c5e3e9e 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 (cherry picked from commit c704aa006b666ca063b57756e9111f238f5a21fa) --- trinity-base/kcheckpass/kcheckpass-14.1.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'trinity-base/kcheckpass/kcheckpass-14.1.0.ebuild') diff --git a/trinity-base/kcheckpass/kcheckpass-14.1.0.ebuild b/trinity-base/kcheckpass/kcheckpass-14.1.0.ebuild index 314c95bb..5dc52356 100644 --- a/trinity-base/kcheckpass/kcheckpass-14.1.0.ebuild +++ b/trinity-base/kcheckpass/kcheckpass-14.1.0.ebuild @@ -17,6 +17,11 @@ IUSE="pam" RDEPEND="pam? ( trinity-base/tdebase-pam )" DEPEND="${RDEPEND}" +src_prepare() { + eapply "${FILESDIR}/${PN}-strlcpy-${PV}.patch" + trinity-meta-2_src_prepare +} + src_configure() { local mycmakeargs=( -DWITH_SHADOW=ON -- cgit v1.2.1