[packages/feathercoin] patch adding some missing header includes

atler atler at pld-linux.org
Tue Feb 21 13:15:54 CET 2023


commit ff10876d1689d84602940f06ebec6975eb95487a
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Feb 21 13:14:55 2023 +0100

    patch adding some missing header includes

 feathercoin.spec       |  2 ++
 missing-includes.patch | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)
---
diff --git a/feathercoin.spec b/feathercoin.spec
index 2b2d562..f338dfa 100644
--- a/feathercoin.spec
+++ b/feathercoin.spec
@@ -18,6 +18,7 @@ Patch0:		lib.patch
 Patch1:		qt-5.15.patch
 Patch2:		%{name}-includes.patch
 Patch3:		%{name}-univalue.patch
+Patch4:		missing-includes.patch
 URL:		https://www.feathercoin.com/
 %if %{with gui}
 BuildRequires:	Qt5Core-devel >= 5
@@ -112,6 +113,7 @@ Oparty na Qt portfel Feathercoin.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
diff --git a/missing-includes.patch b/missing-includes.patch
new file mode 100644
index 0000000..f8ab45d
--- /dev/null
+++ b/missing-includes.patch
@@ -0,0 +1,48 @@
+diff -ur Feathercoin-0.19.1.orig/src/bench/block_assemble.cpp Feathercoin-0.19.1/src/bench/block_assemble.cpp
+--- Feathercoin-0.19.1.orig/src/bench/block_assemble.cpp	2020-08-06 11:29:39.000000000 +0200
++++ Feathercoin-0.19.1/src/bench/block_assemble.cpp	2023-02-21 12:29:11.836557718 +0100
+@@ -10,6 +10,7 @@
+ #include <validation.h>
+ 
+ 
++#include <array>
+ #include <list>
+ #include <vector>
+ 
+diff -ur Feathercoin-0.19.1.orig/src/net_processing.cpp Feathercoin-0.19.1/src/net_processing.cpp
+--- Feathercoin-0.19.1.orig/src/net_processing.cpp	2020-08-06 11:29:39.000000000 +0200
++++ Feathercoin-0.19.1/src/net_processing.cpp	2023-02-21 12:27:04.349114113 +0100
+@@ -30,8 +30,20 @@
+ #include <util/strencodings.h>
+ #include <util/validation.h>
+ 
++#include <algorithm>
++#include <array>
++#include <atomic>
++#include <chrono>
++#include <deque>
++#include <iostream>
++#include <list>
++#include <map>
+ #include <memory>
++#include <set>
++#include <string>
+ #include <typeinfo>
++#include <utility>
++#include <vector>
+ 
+ #if defined(NDEBUG)
+ # error "Feathercoin cannot be compiled without assertions."
+diff -ur Feathercoin-0.19.1.orig/src/qt/sendcoinsdialog.cpp Feathercoin-0.19.1/src/qt/sendcoinsdialog.cpp
+--- Feathercoin-0.19.1.orig/src/qt/sendcoinsdialog.cpp	2020-08-06 11:29:39.000000000 +0200
++++ Feathercoin-0.19.1/src/qt/sendcoinsdialog.cpp	2023-02-21 12:28:52.529773392 +0100
+@@ -32,6 +32,9 @@
+ #include <QSettings>
+ #include <QTextDocument>
+ 
++#include <algorithm>
++#include <array>
++
+ static const std::array<int, 9> confTargets = { {2, 4, 6, 12, 24, 48, 144, 504, 1008} };
+ int getConfTargetForIndex(int index) {
+     if (index+1 > static_cast<int>(confTargets.size())) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/feathercoin.git/commitdiff/ff10876d1689d84602940f06ebec6975eb95487a



More information about the pld-cvs-commit mailing list