commit: 86da92262238606d26b450ccb95c8132a442382c Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Nov 27 18:14:46 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Nov 27 18:15:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86da9226
app-office/texmaker: Fix build with Qt 6.10 Closes: https://bugs.gentoo.org/966707 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch | 13 +++++++++++++ app-office/texmaker/texmaker-6.0.1.ebuild | 1 + 2 files changed, 14 insertions(+) diff --git a/app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch b/app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch new file mode 100644 index 000000000000..f1f394fd4d69 --- /dev/null +++ b/app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch @@ -0,0 +1,13 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -387,7 +387,9 @@ + set(CMAKE_AUTORCC ON) + + find_package(Qt6 REQUIRED COMPONENTS Gui Concurrent Core Core5Compat Network PrintSupport Qml Widgets Xml LinguistTools) +- ++if(Qt6Core_VERSION VERSION_GREATER_EQUAL "6.9.0") ++ find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED CorePrivate) ++endif() + qt_standard_project_setup() + + if (UNIX AND NOT APPLE) diff --git a/app-office/texmaker/texmaker-6.0.1.ebuild b/app-office/texmaker/texmaker-6.0.1.ebuild index 70cedb1b1b70..7bb4e966a6e8 100644 --- a/app-office/texmaker/texmaker-6.0.1.ebuild +++ b/app-office/texmaker/texmaker-6.0.1.ebuild @@ -34,6 +34,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.0.0-unbundle_hunspell_synctex.patch "${FILESDIR}"/${PN}-6.0.0-unforce_webengine.patch "${FILESDIR}"/${PN}-6.0.0-fix_lto_mismatch.patch + "${FILESDIR}"/${P}-qt-6.10.patch # downstream, bug #966707 ) src_prepare() {
