diff options
Diffstat (limited to 'trinity-base/ark')
-rw-r--r-- | trinity-base/ark/ark-14.1.1.ebuild | 5 | ||||
-rw-r--r-- | trinity-base/ark/files/tdeutils-strlcpy.patch | 19 |
2 files changed, 24 insertions, 0 deletions
diff --git a/trinity-base/ark/ark-14.1.1.ebuild b/trinity-base/ark/ark-14.1.1.ebuild index 5dc0d16b..2c61d6db 100644 --- a/trinity-base/ark/ark-14.1.1.ebuild +++ b/trinity-base/ark/ark-14.1.1.ebuild @@ -14,6 +14,11 @@ if [[ ${PV} != *9999* ]] ; then KEYWORDS="~amd64 ~arm64 ~x86" fi +src_prepare() { + eapply "${FILESDIR}/tdeutils-strlcpy.patch" + trinity-meta-2_src_prepare +} + pkg_postinst(){ elog "You may want to install app-arch/lha, app-arch/p7zip, app-arch/rar," elog "app-arch/zip or app-arch/zoo for support of these archive types." diff --git a/trinity-base/ark/files/tdeutils-strlcpy.patch b/trinity-base/ark/files/tdeutils-strlcpy.patch new file mode 100644 index 00000000..997a4010 --- /dev/null +++ b/trinity-base/ark/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 ##################################### |