commit: be317122bbc125d6d2fc905897013841ae7c8783 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Nov 25 17:23:43 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Nov 25 17:25:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be317122
kde-apps/step: Fix build with Qt 6.10.1 Closes: https://bugs.gentoo.org/966479 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> kde-apps/step/files/step-25.08.3-qt-6.10.1.patch | 25 ++++++++++++++++++++++++ kde-apps/step/step-25.08.3.ebuild | 2 ++ 2 files changed, 27 insertions(+) diff --git a/kde-apps/step/files/step-25.08.3-qt-6.10.1.patch b/kde-apps/step/files/step-25.08.3-qt-6.10.1.patch new file mode 100644 index 000000000000..553d6b3e5596 --- /dev/null +++ b/kde-apps/step/files/step-25.08.3-qt-6.10.1.patch @@ -0,0 +1,25 @@ +From 0d41eaae3820d1a7c346f6ce81b940f199229eba Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid <[email protected]> +Date: Fri, 14 Nov 2025 15:54:02 +0100 +Subject: [PATCH] Fix compile with Qt 6.11 + +--- + stepcore/types.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/stepcore/types.h b/stepcore/types.h +index afc3dcf1..7b3c23b6 100644 +--- a/stepcore/types.h ++++ b/stepcore/types.h +@@ -38,7 +38,7 @@ struct Color + + template<> inline QString typeToString(const Color& v) + { +- return QStringLiteral("#%1").arg(v, 8, 16, QLatin1Char('0')); ++ return QStringLiteral("#%1").arg(v.value, 8, 16, QLatin1Char('0')); + } + + template<> inline Color stringToType(const QString& s, bool *ok) +-- +GitLab + diff --git a/kde-apps/step/step-25.08.3.ebuild b/kde-apps/step/step-25.08.3.ebuild index e6790a06f0f6..91cc5b7a5eee 100644 --- a/kde-apps/step/step-25.08.3.ebuild +++ b/kde-apps/step/step-25.08.3.ebuild @@ -42,6 +42,8 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]" +PATCHES=( "${FILESDIR}/${P}-qt-6.10.1.patch" ) # bug 966479 + src_configure() { local mycmakeargs=( $(cmake_use_find_package gsl GSL)
