mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
net-im/ruqola: prepare for KDE Frameworks 5.104
Backports of upstream commits -a3513afa21
-fc56ae9a55
PR: 270117
This commit is contained in:
parent
55c08bfbb7
commit
f91bfed74c
11
net-im/ruqola/files/patch-CMakeLists.txt
Normal file
11
net-im/ruqola/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2023-01-31 13:04:44 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -156,7 +156,7 @@ ecm_set_disabled_deprecation_versions(QT 5.15.2
|
||||
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
ecm_set_disabled_deprecation_versions(QT 5.15.2
|
||||
- KF 6.0.0
|
||||
+ KF 5.104.0
|
||||
)
|
||||
if (OPTION_BUILD_PYTHON_BINDINGS)
|
||||
remove_definitions(-DQT_STRICT_ITERATORS)
|
@ -0,0 +1,18 @@
|
||||
--- src/plugins/textplugin/sharetext/purposemenuwidget.cpp.orig 2023-01-31 13:04:44 UTC
|
||||
+++ src/plugins/textplugin/sharetext/purposemenuwidget.cpp
|
||||
@@ -5,10 +5,15 @@
|
||||
*/
|
||||
|
||||
#include "purposemenuwidget.h"
|
||||
+#include "purpose_version.h"
|
||||
#include <KLocalizedString>
|
||||
#include <KMessageBox>
|
||||
#include <Purpose/AlternativesModel>
|
||||
+#if PURPOSE_VERSION < QT_VERSION_CHECK(5, 104, 0)
|
||||
#include <PurposeWidgets/Menu>
|
||||
+#else
|
||||
+#include <Purpose/Menu>
|
||||
+#endif
|
||||
#include <QJsonArray>
|
||||
#include <QTemporaryFile>
|
||||
#include <QUrl>
|
Loading…
Reference in New Issue
Block a user