summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <[email protected]>2024-02-02 12:45:45 +0300
committerormorph <[email protected]>2024-02-02 15:40:58 +0300
commitbbd4b5275b35a40309b56170bb9cccc7287dc164 (patch)
treef50db917c15e4ba6b8b4aee76ff1db35997d97d8
parenta196fb18265bf2648d4a81119de2b97260912ee2 (diff)
downloadtde-packaging-gentoo-bbd4b5275b35a40309b56170bb9cccc7287dc164.tar.gz
tde-packaging-gentoo-bbd4b5275b35a40309b56170bb9cccc7287dc164.zip
Added patches for compatibility with glibc-2.38
Signed-off-by: ormorph <[email protected]>
-rw-r--r--trinity-base/kate/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/kate/kate-14.1.1.ebuild5
-rw-r--r--trinity-base/kcminit/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/kcminit/kcminit-14.1.1.ebuild5
-rw-r--r--trinity-base/konqueror/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/konqueror/konqueror-14.1.1.ebuild5
-rw-r--r--trinity-base/libkonq/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/libkonq/libkonq-14.1.1.ebuild5
-rw-r--r--trinity-base/nsplugins/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/nsplugins/nsplugins-14.1.1.ebuild5
-rw-r--r--trinity-base/tdedebugdialog/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/tdedebugdialog/tdedebugdialog-14.1.1.ebuild5
-rw-r--r--trinity-base/tdeinit/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/tdeinit/tdeinit-14.1.1.ebuild5
-rw-r--r--trinity-base/tdepasswd/files/tdebase-strlcpy.patch29
-rw-r--r--trinity-base/tdepasswd/tdepasswd-14.1.1.ebuild5
16 files changed, 272 insertions, 0 deletions
diff --git a/trinity-base/kate/files/tdebase-strlcpy.patch b/trinity-base/kate/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/kate/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/kate/kate-14.1.1.ebuild b/trinity-base/kate/kate-14.1.1.ebuild
index b2e2d532..40f26be1 100644
--- a/trinity-base/kate/kate-14.1.1.ebuild
+++ b/trinity-base/kate/kate-14.1.1.ebuild
@@ -12,3 +12,8 @@ DESCRIPTION="Kate is an MDI texteditor"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}
diff --git a/trinity-base/kcminit/files/tdebase-strlcpy.patch b/trinity-base/kcminit/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/kcminit/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/kcminit/kcminit-14.1.1.ebuild b/trinity-base/kcminit/kcminit-14.1.1.ebuild
index d0c8fb48..4db06398 100644
--- a/trinity-base/kcminit/kcminit-14.1.1.ebuild
+++ b/trinity-base/kcminit/kcminit-14.1.1.ebuild
@@ -18,3 +18,8 @@ DEPEND="x11-libs/libX11
x11-libs/libXrender
x11-libs/libXtst"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}
diff --git a/trinity-base/konqueror/files/tdebase-strlcpy.patch b/trinity-base/konqueror/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/konqueror/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/konqueror/konqueror-14.1.1.ebuild b/trinity-base/konqueror/konqueror-14.1.1.ebuild
index 46eb9766..c1fe139b 100644
--- a/trinity-base/konqueror/konqueror-14.1.1.ebuild
+++ b/trinity-base/konqueror/konqueror-14.1.1.ebuild
@@ -25,3 +25,8 @@ RDEPEND="${DEPEND}
~trinity-base/tdebase-tdeioslaves-${PV}
java? ( virtual/jre )
"
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}
diff --git a/trinity-base/libkonq/files/tdebase-strlcpy.patch b/trinity-base/libkonq/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/libkonq/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/libkonq/libkonq-14.1.1.ebuild b/trinity-base/libkonq/libkonq-14.1.1.ebuild
index 9e823158..970a8172 100644
--- a/trinity-base/libkonq/libkonq-14.1.1.ebuild
+++ b/trinity-base/libkonq/libkonq-14.1.1.ebuild
@@ -13,3 +13,8 @@ DESCRIPTION="The embeddable part of konqueror"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}
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
+}
diff --git a/trinity-base/tdedebugdialog/files/tdebase-strlcpy.patch b/trinity-base/tdedebugdialog/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/tdedebugdialog/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/tdedebugdialog/tdedebugdialog-14.1.1.ebuild b/trinity-base/tdedebugdialog/tdedebugdialog-14.1.1.ebuild
index 8dc15951..33886635 100644
--- a/trinity-base/tdedebugdialog/tdedebugdialog-14.1.1.ebuild
+++ b/trinity-base/tdedebugdialog/tdedebugdialog-14.1.1.ebuild
@@ -12,3 +12,8 @@ DESCRIPTION="A Trinity dialog box for setting preferences for debug output"
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}
diff --git a/trinity-base/tdeinit/files/tdebase-strlcpy.patch b/trinity-base/tdeinit/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/tdeinit/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/tdeinit/tdeinit-14.1.1.ebuild b/trinity-base/tdeinit/tdeinit-14.1.1.ebuild
index 853801eb..bd57eb94 100644
--- a/trinity-base/tdeinit/tdeinit-14.1.1.ebuild
+++ b/trinity-base/tdeinit/tdeinit-14.1.1.ebuild
@@ -12,3 +12,8 @@ DESCRIPTION="Trinity init binary replacing some functions of the starttde script
if [[ ${PV} != *9999* ]] ; then
KEYWORDS="~amd64 ~arm64 ~x86"
fi
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}
diff --git a/trinity-base/tdepasswd/files/tdebase-strlcpy.patch b/trinity-base/tdepasswd/files/tdebase-strlcpy.patch
new file mode 100644
index 00000000..c117154d
--- /dev/null
+++ b/trinity-base/tdepasswd/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/tdepasswd/tdepasswd-14.1.1.ebuild b/trinity-base/tdepasswd/tdepasswd-14.1.1.ebuild
index 5c3a822f..fd61c37b 100644
--- a/trinity-base/tdepasswd/tdepasswd-14.1.1.ebuild
+++ b/trinity-base/tdepasswd/tdepasswd-14.1.1.ebuild
@@ -15,3 +15,8 @@ fi
DEPEND="~trinity-base/libkonq-${PV}"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply "${FILESDIR}/tdebase-strlcpy.patch"
+ trinity-meta-2_src_prepare
+}