litecoin: patch from boost 1.81
This commit is contained in:
parent
088f1c7d56
commit
ff2d098e15
3 changed files with 61 additions and 20 deletions
|
@ -1,10 +0,0 @@
|
|||
--- a/src/httpserver.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
+++ b/src/httpserver.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <deque>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
61
srcpkgs/litecoin/patches/fix-include.patch
Normal file
61
srcpkgs/litecoin/patches/fix-include.patch
Normal file
|
@ -0,0 +1,61 @@
|
|||
Index: litecoin-0.18.1/src/bench/block_assemble.cpp
|
||||
===================================================================
|
||||
--- litecoin-0.18.1.orig/src/bench/block_assemble.cpp
|
||||
+++ litecoin-0.18.1/src/bench/block_assemble.cpp
|
||||
@@ -20,7 +20,9 @@
|
||||
|
||||
#include <boost/thread.hpp>
|
||||
|
||||
+#include <array>
|
||||
#include <list>
|
||||
+#include <memory>
|
||||
#include <vector>
|
||||
|
||||
static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
|
||||
Index: litecoin-0.18.1/src/net_processing.cpp
|
||||
===================================================================
|
||||
--- litecoin-0.18.1.orig/src/net_processing.cpp
|
||||
+++ litecoin-0.18.1/src/net_processing.cpp
|
||||
@@ -30,7 +30,9 @@
|
||||
#include <util/moneystr.h>
|
||||
#include <util/strencodings.h>
|
||||
|
||||
+#include <array>
|
||||
#include <memory>
|
||||
+#include <utility>
|
||||
|
||||
#if defined(NDEBUG)
|
||||
# error "Litecoin cannot be compiled without assertions."
|
||||
Index: litecoin-0.18.1/src/qt/sendcoinsdialog.cpp
|
||||
===================================================================
|
||||
--- litecoin-0.18.1.orig/src/qt/sendcoinsdialog.cpp
|
||||
+++ litecoin-0.18.1/src/qt/sendcoinsdialog.cpp
|
||||
@@ -32,6 +32,8 @@
|
||||
#include <QSettings>
|
||||
#include <QTextDocument>
|
||||
|
||||
+#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())) {
|
||||
--- a/src/httpserver.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
+++ b/src/httpserver.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <deque>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
--- a/src/qt/trafficgraphwidget.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
+++ b/src/qt/trafficgraphwidget.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <qt/trafficgraphwidget.h>
|
||||
#include <qt/clientmodel.h>
|
||||
|
||||
+#include <QPainterPath>
|
||||
#include <QPainter>
|
||||
#include <QColor>
|
||||
#include <QTimer>
|
|
@ -1,10 +0,0 @@
|
|||
--- a/src/qt/trafficgraphwidget.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
+++ b/src/qt/trafficgraphwidget.cpp 2019-04-08 09:28:20.000000000 +0200
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <qt/trafficgraphwidget.h>
|
||||
#include <qt/clientmodel.h>
|
||||
|
||||
+#include <QPainterPath>
|
||||
#include <QPainter>
|
||||
#include <QColor>
|
||||
#include <QTimer>
|
Loading…
Add table
Reference in a new issue