diff options
author | ormorph <roma251078@mail.ru> | 2024-02-02 12:45:45 +0300 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-02-02 13:42:43 +0100 |
commit | 2f5fc73100522e48947c3ed0171da6789cece6e8 (patch) | |
tree | f50db917c15e4ba6b8b4aee76ff1db35997d97d8 /trinity-base/nsplugins | |
parent | 4883fd0e22ed521f6b00caf46c96ae08743d199f (diff) | |
download | tde-packaging-gentoo-2f5fc73100522e48947c3ed0171da6789cece6e8.tar.gz tde-packaging-gentoo-2f5fc73100522e48947c3ed0171da6789cece6e8.zip |
Added patches for compatibility with glibc-2.38
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit bbd4b5275b35a40309b56170bb9cccc7287dc164)
Diffstat (limited to 'trinity-base/nsplugins')
-rw-r--r-- | trinity-base/nsplugins/files/tdebase-strlcpy.patch | 29 | ||||
-rw-r--r-- | trinity-base/nsplugins/nsplugins-14.1.1.ebuild | 5 |
2 files changed, 34 insertions, 0 deletions
diff --git a/trinity-base/nsplugins/files/tdebase-strlcpy.patch b/trinity-base/nsplugins/files/tdebase-strlcpy.patch new file mode 100644 index 00000000..c117154d --- /dev/null +++ b/trinity-base/nsplugins/files/tdebase-strlcpy.patch @@ -0,0 +1,29 @@ +--- a/ConfigureChecks.cmake 2023-11-13 20:24:40.136525876 +0300 ++++ b/ConfigureChecks.cmake 2023-11-13 20:30:04.069534276 +0300 +@@ -23,6 +23,10 @@ + find_package( TQt ) + find_package( TDE ) + ++check_function_exists( strlcat HAVE_STRLCAT ) ++check_symbol_exists( strlcat "string.h" HAVE_STRLCAT_PROTO ) ++check_function_exists( strlcpy HAVE_STRLCPY ) ++check_symbol_exists( strlcpy "string.h" HAVE_STRLCPY_PROTO ) + + ##### look for the usb.ids file, Its location can be set EG: -DWITH_USBIDS="/opt/share/misc/usb.ids" + +@@ -387,15 +391,6 @@ + endif( ) + + +-# strlcat, strlcpy +-if( BUILD_KSYSGUARD OR BUILD_KCHECKPASS ) +- check_function_exists( strlcat HAVE_STRLCAT ) +- check_symbol_exists( strlcat "string.h" HAVE_STRLCAT_PROTO ) +- check_function_exists( strlcpy HAVE_STRLCPY ) +- check_symbol_exists( strlcpy "string.h" HAVE_STRLCPY_PROTO ) +-endif( ) +- +- + # getifaddrs (kcontrol, tdm) + if( BUILD_KCONTROL OR BUILD_TDM ) + check_function_exists( getifaddrs HAVE_GETIFADDRS ) diff --git a/trinity-base/nsplugins/nsplugins-14.1.1.ebuild b/trinity-base/nsplugins/nsplugins-14.1.1.ebuild index ad3666ff..2f8ae797 100644 --- a/trinity-base/nsplugins/nsplugins-14.1.1.ebuild +++ b/trinity-base/nsplugins/nsplugins-14.1.1.ebuild @@ -16,3 +16,8 @@ fi DEPEND="x11-libs/libXt dev-libs/glib" RDEPEND="${DEPEND}" + +src_prepare() { + eapply "${FILESDIR}/tdebase-strlcpy.patch" + trinity-meta-2_src_prepare +} |