Accepting request 810770 from home:favogt:branches:KDE:Extra
- Add another patch to fix build against Qt 5.15: * fix-build-with-qt-5.15-again.patch OBS-URL: https://build.opensuse.org/request/show/810770 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=63
This commit is contained in:
parent
be1d4a6454
commit
3c42c064ee
25
fix-build-with-qt-5.15-again.patch
Normal file
25
fix-build-with-qt-5.15-again.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 7cd17bca4fb8369b5e1c5822ac1c79574766d3e7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eike Ziller <eike.ziller@qt.io>
|
||||||
|
Date: Wed, 6 May 2020 10:34:01 +0200
|
||||||
|
Subject: [PATCH] Fix build against Qt 5.15
|
||||||
|
|
||||||
|
After qtbase/487dd80bce9c6006f349ccb09222e1c308200f0a which adds
|
||||||
|
a meta type declaration
|
||||||
|
---
|
||||||
|
plugins/network/networksupport.cpp | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/plugins/network/networksupport.cpp b/plugins/network/networksupport.cpp
|
||||||
|
index 32191d0ca..97db54222 100644
|
||||||
|
--- a/plugins/network/networksupport.cpp
|
||||||
|
+++ b/plugins/network/networksupport.cpp
|
||||||
|
@@ -89,7 +89,9 @@ Q_DECLARE_METATYPE(QNetworkInterface::InterfaceFlags)
|
||||||
|
#endif
|
||||||
|
Q_DECLARE_METATYPE(QNetworkProxy::Capabilities)
|
||||||
|
Q_DECLARE_METATYPE(QNetworkProxy::ProxyType)
|
||||||
|
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
|
Q_DECLARE_METATYPE(QSocketNotifier::Type)
|
||||||
|
+#endif
|
||||||
|
#ifndef QT_NO_SSL
|
||||||
|
Q_DECLARE_METATYPE(QSsl::KeyAlgorithm)
|
||||||
|
Q_DECLARE_METATYPE(QSsl::KeyType)
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 2 09:58:03 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
- Add another patch to fix build against Qt 5.15:
|
||||||
|
* fix-build-with-qt-5.15-again.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 7 07:32:15 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
Thu May 7 07:32:15 UTC 2020 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ Source: https://github.com/KDAB/GammaRay/releases/download/v%{version}/%
|
|||||||
Patch0: Fix_icons_installation.patch
|
Patch0: Fix_icons_installation.patch
|
||||||
# PATCH-FIX-UPSTREAM
|
# PATCH-FIX-UPSTREAM
|
||||||
Patch2: 0001-Fix-build-with-Qt-5.15.patch
|
Patch2: 0001-Fix-build-with-Qt-5.15.patch
|
||||||
|
Patch3: fix-build-with-qt-5.15-again.patch
|
||||||
BuildRequires: binutils-devel
|
BuildRequires: binutils-devel
|
||||||
BuildRequires: cmake >= 3.1
|
BuildRequires: cmake >= 3.1
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user