[packages/bitcoin] - up to 0.19.1
baggins
baggins at pld-linux.org
Mon Jun 1 18:52:57 CEST 2020
commit c31cb984b07b8eb6a292e8c678b2b4d3199c838d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Jun 1 18:52:45 2020 +0200
- up to 0.19.1
bitcoin.spec | 9 ++++++---
qt-5.15.patch | 22 ++++++++++++++++++++++
2 files changed, 28 insertions(+), 3 deletions(-)
---
diff --git a/bitcoin.spec b/bitcoin.spec
index 3aa2973..028016b 100644
--- a/bitcoin.spec
+++ b/bitcoin.spec
@@ -3,13 +3,14 @@
Summary: Bitcoin is a peer-to-peer currency
Summary(pl.UTF-8): Bitcoin - waluta peer-to-peer
Name: bitcoin
-Version: 0.18.0
-Release: 4
+Version: 0.19.1
+Release: 1
License: MIT
Group: X11/Applications
# Source0: https://github.com/bitcoin/bitcoin/archive/v%{version}/%{name}-%{version}.tar.gz
Source0: https://bitcoin.org/bin/bitcoin-core-%{version}/bitcoin-%{version}.tar.gz
-# Source0-md5: 916c8fb6e7e83f60207113273c39507c
+# Source0-md5: 6066d7247a5a8c61392fb79ae882bd30
+Patch0: qt-5.15.patch
URL: http://www.bitcoin.org/
BuildRequires: QtCore-devel >= 4.0
BuildRequires: QtDBus-devel >= 4.0
@@ -84,6 +85,7 @@ Portfel na bitcoiny oparty na Qt.
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -136,6 +138,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %ghost %{_libdir}/libbitcoinconsensus.so.0
%{_mandir}/man1/bitcoin-cli.1*
%{_mandir}/man1/bitcoin-tx.1*
+%{_mandir}/man1/bitcoin-wallet.1*
%{_mandir}/man1/bitcoind.1*
%files devel
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 <achow101-github at 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>
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bitcoin.git/commitdiff/c31cb984b07b8eb6a292e8c678b2b4d3199c838d
More information about the pld-cvs-commit
mailing list