commit: 9c5097a3813b4d513dc17298a2a54881ac4a36ef Author: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com> AuthorDate: Tue Jun 3 19:01:18 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jun 3 20:06:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5097a3
kde-plasma/plasma-workspace: fix building with gcc 16 Backport patch [1] that adds an include for the mutex header, which has to be explicitly included with gcc 16. [1] https://invent.kde.org/plasma/plasma-workspace/-/commit/73e7404f7 Signed-off-by: Kostadin Shishmanov <kostadinshishmanov <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42429 Closes: https://github.com/gentoo/gentoo/pull/42429 Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/plasma-workspace-6.3.5-gcc-16.patch | 30 ++++++++++++++++++++++ .../plasma-workspace-6.3.5-r2.ebuild | 1 + 2 files changed, 31 insertions(+) diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-6.3.5-gcc-16.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-6.3.5-gcc-16.patch new file mode 100644 index 000000000000..dbef96f26498 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-6.3.5-gcc-16.patch @@ -0,0 +1,30 @@ +https://invent.kde.org/plasma/plasma-workspace/-/commit/73e7404f + +From 73e7404f7da95c0e1be94fc49ffa7ea3e3b27312 Mon Sep 17 00:00:00 2001 +From: Sam James <[email protected]> +Date: Sun, 1 Jun 2025 03:45:34 +0100 +Subject: [PATCH] dataengines: add missing <mutex> include + +This shows up with recent GCC 16 trunk. It's fixed on master with +fe0dbb13cd4263a75ff1c226f8a49ce8a09131e6 but that change is a bit big, +so let's do the minimal thing here for the branch. +--- + dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp b/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp +index 32ec4b02e4f..c6140c572c5 100644 +--- a/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp ++++ b/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp +@@ -11,6 +11,8 @@ + + #include "ion_bbcukmetdebug.h" + ++#include <mutex> ++ + #include <KIO/TransferJob> + #include <KLocalizedString> + #include <KUnitConversion/Converter> +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/plasma-workspace-6.3.5-r2.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-6.3.5-r2.ebuild index 856c3e6b2f5e..363f71471b6a 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-6.3.5-r2.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-6.3.5-r2.ebuild @@ -157,6 +157,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478 "${WORKDIR}"/${PATCHSET} + "${FILESDIR}"/${PN}-6.3.5-gcc-16.patch ) src_prepare() {
