]> git.pld-linux.org Git - packages/litecoin.git/commitdiff
- rel 5, fix building qith qt 5.15 auto/th/litecoin-0.17.1-5
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 2 Jun 2020 06:39:15 +0000 (08:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 2 Jun 2020 06:39:15 +0000 (08:39 +0200)
litecoin.spec
qt-5.15.patch [new file with mode: 0644]

index 6525b0b6469d6ce1808136e8566a8a85761ffc26..c8e07383e999f55590f5bb60b7395c94280c7580 100644 (file)
@@ -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 (file)
index 0000000..8ba7b32
--- /dev/null
@@ -0,0 +1,22 @@
+From 79b0a69e09c1a912122e6431ea3c530cc292c690 Mon Sep 17 00:00:00 2001
+From: Andrew Chow <achow101-github@achow101.com>
+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 <qt/clientmodel.h>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QColor>
+ #include <QTimer>
This page took 0.194552 seconds and 4 git commands to generate.