summaryrefslogtreecommitdiffstats
path: root/trinity-base/superkaramba
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2023-12-31 18:39:26 +0300
committerormorph <roma251078@mail.ru>2023-12-31 18:39:26 +0300
commit75781374864d2810908644e1ed2e5cd3835307d8 (patch)
tree6840ae0d3416e2ece90189a17a7b6d2b6a2f918c /trinity-base/superkaramba
parent01638c7e3c6fab0c1679bd5153ecb4764b9830c7 (diff)
downloadtde-packaging-gentoo-75781374864d2810908644e1ed2e5cd3835307d8.tar.gz
tde-packaging-gentoo-75781374864d2810908644e1ed2e5cd3835307d8.zip
Adding patches for compatibility with glibc-2.38
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'trinity-base/superkaramba')
-rw-r--r--trinity-base/superkaramba/files/tdeutils-strlcpy.patch19
-rw-r--r--trinity-base/superkaramba/superkaramba-14.1.1.ebuild5
2 files changed, 24 insertions, 0 deletions
diff --git a/trinity-base/superkaramba/files/tdeutils-strlcpy.patch b/trinity-base/superkaramba/files/tdeutils-strlcpy.patch
new file mode 100644
index 00000000..997a4010
--- /dev/null
+++ b/trinity-base/superkaramba/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/superkaramba/superkaramba-14.1.1.ebuild b/trinity-base/superkaramba/superkaramba-14.1.1.ebuild
index 3aa2925b..08723b2b 100644
--- a/trinity-base/superkaramba/superkaramba-14.1.1.ebuild
+++ b/trinity-base/superkaramba/superkaramba-14.1.1.ebuild
@@ -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)"