diff options
author | ormorph <roma251078@mail.ru> | 2023-12-31 18:39:26 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-01-01 03:01:33 +0100 |
commit | cf97bcc21d119c3e97091b222ed994a9f244a07b (patch) | |
tree | 6840ae0d3416e2ece90189a17a7b6d2b6a2f918c /trinity-base/kjots | |
parent | e2b50265ef4d7c51281a602db3de3247254ca5b3 (diff) | |
download | tde-packaging-gentoo-cf97bcc21d119c3e97091b222ed994a9f244a07b.tar.gz tde-packaging-gentoo-cf97bcc21d119c3e97091b222ed994a9f244a07b.zip |
Adding patches for compatibility with glibc-2.38
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit 75781374864d2810908644e1ed2e5cd3835307d8)
Diffstat (limited to 'trinity-base/kjots')
-rw-r--r-- | trinity-base/kjots/files/tdeutils-strlcpy.patch | 19 | ||||
-rw-r--r-- | trinity-base/kjots/kjots-14.1.1.ebuild | 5 |
2 files changed, 24 insertions, 0 deletions
diff --git a/trinity-base/kjots/files/tdeutils-strlcpy.patch b/trinity-base/kjots/files/tdeutils-strlcpy.patch new file mode 100644 index 00000000..997a4010 --- /dev/null +++ b/trinity-base/kjots/files/tdeutils-strlcpy.patch @@ -0,0 +1,19 @@ +--- a/ConfigureChecks.cmake 2023-11-20 07:43:31.808978636 +0300 ++++ b/ConfigureChecks.cmake 2023-11-20 07:47:59.756967430 +0300 +@@ -28,13 +28,9 @@ + tde_setup_gcc_visibility( ) + endif( ) + +- +-##### ark ####################################### +- +-if( BUILD_ARK ) +- check_symbol_exists( strlcpy string.h HAVE_STRLCPY_PROTO ) +- check_symbol_exists( strlcat string.h HAVE_STRLCAT_PROTO ) +-endif( BUILD_ARK ) ++# strlcat and strlcpy check ++check_symbol_exists( strlcpy string.h HAVE_STRLCPY_PROTO ) ++check_symbol_exists( strlcat string.h HAVE_STRLCAT_PROTO ) + + + ##### kcalc ##################################### diff --git a/trinity-base/kjots/kjots-14.1.1.ebuild b/trinity-base/kjots/kjots-14.1.1.ebuild index e9a39781..20b35d03 100644 --- a/trinity-base/kjots/kjots-14.1.1.ebuild +++ b/trinity-base/kjots/kjots-14.1.1.ebuild @@ -13,3 +13,8 @@ DESCRIPTION="Trinity note taking utility" if [[ ${PV} != *9999* ]] ; then KEYWORDS="~amd64 ~arm64 ~x86" fi + +src_prepare() { + eapply "${FILESDIR}/tdeutils-strlcpy.patch" + trinity-meta-2_src_prepare +} |