Adding patches for compatibility with glibc-2.38

Signed-off-by: ormorph <roma251078@mail.ru>
pull/333/head
ormorph 4 months ago
parent 01638c7e3c
commit 7578137486
No known key found for this signature in database
GPG Key ID: 30407D7656623DFD

@ -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."

@ -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 #####################################

@ -18,6 +18,11 @@ IUSE="+hwlib"
RDEPEND="sys-devel/gdb"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_TDEHWLIB="$(usex hwlib)"

@ -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 )

@ -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 #####################################

@ -16,3 +16,8 @@ fi
DEPEND="dev-libs/gmp:*"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -14,3 +14,8 @@ DESCRIPTION="Trinity character selection utility and panel applet"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 )

@ -17,6 +17,11 @@ IUSE="pam"
RDEPEND="pam? ( trinity-base/tdebase-pam )"
DEPEND="${RDEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_SHADOW=ON

@ -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 )

@ -37,6 +37,11 @@ RDEPEND="${DEPEND}
svg? ( media-libs/libart_lgpl )
"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XCURSOR=ON

@ -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 )

@ -33,6 +33,11 @@ RDEPEND="${COMMON_DEPEND}
~trinity-base/konqueror-${PV}
pam? ( trinity-base/tdebase-pam )"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XCURSOR=ON

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="Trinity free disk space utility"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="Very simple text editor for Trinity"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="KFloppy - formats disks and puts a DOS or ext2fs filesystem on them
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -21,3 +21,8 @@ RDEPEND="app-crypt/gnupg
app-crypt/pinentry[gtk]
app-crypt/pinentry[tqt(-)]
)"
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="Trinity hex editor"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 )

@ -18,6 +18,11 @@ fi
DEPEND="x11-libs/libXtst"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XTEST=ON

@ -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 )

@ -25,6 +25,11 @@ DEPEND="~trinity-base/libkonq-${PV}
RDEPEND="${DEPEND}
~trinity-base/kmenuedit-${PV}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XFIXES="$(usex xcomposite)"

@ -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 #####################################

@ -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
}

@ -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 #####################################

@ -22,6 +22,11 @@ DEPEND="${RDEPEND}
virtual/os-headers
"
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_DPMS=ON

@ -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 )

@ -16,6 +16,11 @@ fi
DEPEND="x11-libs/libXfixes"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XFIXES=ON

@ -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 #####################################

@ -19,6 +19,11 @@ DEPEND="powerbook-laptop? ( app-laptop/pbbuttonsd )"
RDEPEND="${DEPEND}
lm-sensors? ( sys-apps/lm-sensors )"
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_ASUS="$(usex asus-laptop)"

@ -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 )

@ -24,6 +24,11 @@ RDEPEND="${DEPEND}
x11-apps/bdftopcf
sudo? ( app-admin/sudo )"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XRENDER=ON

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="Trinity: Editor for Regular Expressions"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -21,6 +21,11 @@ DEPEND="
RDEPEND="${DEPEND}
lm-sensors? ( sys-apps/lm-sensors )"
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_I8K="$(usex dell-laptop)"

@ -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 )

@ -14,6 +14,11 @@ if [[ ${PV} != *9999* ]] ; then
fi
IUSE="+hwlib"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_TDEHWLIB="$(usex hwlib)"

@ -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 )

@ -18,6 +18,11 @@ IUSE="xinerama"
DEPEND="xinerama? ( x11-base/xorg-proto )"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XINERAMA="$(usex xinerama)"

@ -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 )

@ -18,6 +18,11 @@ IUSE="dell-laptop lm-sensors"
DEPEND="lm-sensors? ( sys-apps/lm-sensors )"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_I8K="$(usex dell-laptop)"

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="Trinity Timer"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 )

@ -19,6 +19,11 @@ RDEPEND="${DEPEND}
x11-misc/xkeyboard-config
x11-apps/setxkbmap"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XTEST=ON

@ -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 #####################################

@ -17,6 +17,11 @@ fi
# RDEPEND="xmms? (media-sound/xmms2)"
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
# -DWITH_XMMS="$(usex xmms)"

@ -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 )

@ -29,6 +29,11 @@ RDEPEND="${DEPEND}
~trinity-base/tdeeject-${PV}
net-libs/libssh"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XCURSOR=ON

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="A batch search and replace tool for TDE"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 #####################################

@ -12,3 +12,8 @@ DESCRIPTION="TDElirc - Trinity Frontend to lirc"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 )

@ -20,6 +20,11 @@ DEPEND="x11-libs/libXt
krootbacking? ( ~trinity-base/krootbacking-${PV} )"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure () {
local mycmakeargs=(
-DWITH_OPENGL="$(usex opengl)"

@ -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 )

@ -17,6 +17,11 @@ IUSE="sudo"
DEPEND="sudo? ( app-admin/sudo )"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure () {
local mycmakeargs=(
-DWITH_SUDO_TDESU_BACKEND="$(usex sudo)"

@ -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 #####################################

@ -13,3 +13,8 @@ DESCRIPTION="Trinity Wallet Management Tool"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
src_prepare() {
eapply "${FILESDIR}/tdeutils-strlcpy.patch"
trinity-meta-2_src_prepare
}

@ -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 )

@ -35,6 +35,11 @@ pkg_setup() {
use sak && TRINITY_SUBMODULE+=" tsak"
}
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XTEST=ON

@ -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 )

@ -26,6 +26,11 @@ DEPEND="x11-libs/libXext
pcre? ( dev-libs/libpcre[jit] )"
RDEPEND="${DEPEND}"
src_prepare() {
eapply "${FILESDIR}/tdebase-strlcpy.patch"
trinity-meta-2_src_prepare
}
src_configure() {
local mycmakeargs=(
-DWITH_XCOMPOSITE="$(usex xcomposite)"

Loading…
Cancel
Save