diff options
author | ormorph <roma251078@mail.ru> | 2023-06-25 07:06:52 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-07-05 18:30:13 +0200 |
commit | e1526ec5deacd23d4c780f82459b85d73c5e3e9e (patch) | |
tree | 16fd951f417e45f73d4a68194101c93239e91c0a /trinity-base/ksysguard/ksysguard-14.0.13.ebuild | |
parent | fe1c01c2898978a5e5a5dfd328b4a770cfd01119 (diff) | |
download | tde-packaging-gentoo-e1526ec5deacd23d4c780f82459b85d73c5e3e9e.tar.gz tde-packaging-gentoo-e1526ec5deacd23d4c780f82459b85d73c5e3e9e.zip |
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 <sys/ioctl.h> for the ioctl() prototype in tdm.
The absence of these prototypes results in a build error with some compilers.
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit c704aa006b666ca063b57756e9111f238f5a21fa)
Diffstat (limited to 'trinity-base/ksysguard/ksysguard-14.0.13.ebuild')
-rw-r--r-- | trinity-base/ksysguard/ksysguard-14.0.13.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/trinity-base/ksysguard/ksysguard-14.0.13.ebuild b/trinity-base/ksysguard/ksysguard-14.0.13.ebuild index 9c4f996e..77fcea3f 100644 --- a/trinity-base/ksysguard/ksysguard-14.0.13.ebuild +++ b/trinity-base/ksysguard/ksysguard-14.0.13.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)" |