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/ksysguard/ksysguard-14.1.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'trinity-base/ksysguard/ksysguard-14.1.0.ebuild') diff --git a/trinity-base/ksysguard/ksysguard-14.1.0.ebuild b/trinity-base/ksysguard/ksysguard-14.1.0.ebuild index 6a47f295..5f6561d3 100644 --- a/trinity-base/ksysguard/ksysguard-14.1.0.ebuild +++ b/trinity-base/ksysguard/ksysguard-14.1.0.ebuild @@ -18,6 +18,11 @@ IUSE="dell-laptop lm-sensors" DEPEND="lm-sensors? ( sys-apps/lm-sensors )" RDEPEND="${DEPEND}" +src_prepare() { + eapply "${FILESDIR}/${PN}-strlcpy-${PV}.patch" + trinity-meta-2_src_prepare +} + src_configure() { local mycmakeargs=( -DWITH_I8K="$(usex dell-laptop)" -- cgit v1.2.1