mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-office/texmaker: Fix build with Qt 6.10
Closes: https://bugs.gentoo.org/966707 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
2a8f028be9
commit
86da922622
13
app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch
Normal file
13
app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch
Normal file
@ -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)
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user