From a01bc00dbe509f228b632e3c1b08d0acd42a826d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 2 Jun 2020 08:39:15 +0200 Subject: [PATCH] - rel 5, fix building qith qt 5.15 --- litecoin.spec | 4 +++- qt-5.15.patch | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 qt-5.15.patch diff --git a/litecoin.spec b/litecoin.spec index 6525b0b..c8e0738 100644 --- a/litecoin.spec +++ b/litecoin.spec @@ -2,12 +2,13 @@ Summary: Litecoin is a peer-to-peer currency Summary(pl.UTF-8): Litecoin - waluta peer-to-peer Name: litecoin Version: 0.17.1 -Release: 4 +Release: 5 License: MIT Group: X11/Applications #Sourrce0Download: https://github.com/litecoin-project/litecoin/releases Source0: https://download.litecoin.org/litecoin-%{version}/src/%{name}-%{version}.tar.gz # Source0-md5: 7a486f0b5edcbbe3ea959ae8877e9672 +Patch0: qt-5.15.patch URL: http://www.litecoin.org/ BuildRequires: Qt5Core-devel >= 5.4 BuildRequires: Qt5DBus-devel >= 4 @@ -60,6 +61,7 @@ Portfel na litecoiny oparty na Qt. %prep %setup -q +%patch0 -p1 %build %{__libtoolize} diff --git a/qt-5.15.patch b/qt-5.15.patch new file mode 100644 index 0000000..8ba7b32 --- /dev/null +++ b/qt-5.15.patch @@ -0,0 +1,22 @@ +From 79b0a69e09c1a912122e6431ea3c530cc292c690 Mon Sep 17 00:00:00 2001 +From: Andrew Chow +Date: Thu, 28 May 2020 14:56:47 -0400 +Subject: [PATCH] Add missing QPainterPath include + +This is needed to compile with Qt 5.15. +--- + src/qt/trafficgraphwidget.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/qt/trafficgraphwidget.cpp b/src/qt/trafficgraphwidget.cpp +index 757648f4854d..6428fc4dafc8 100644 +--- a/src/qt/trafficgraphwidget.cpp ++++ b/src/qt/trafficgraphwidget.cpp +@@ -7,6 +7,7 @@ + #include + + #include ++#include + #include + #include + -- 2.44.0