]> git.pld-linux.org Git - packages/bitcoin.git/commitdiff
add missing headers to fix build
authorJan Palus <atler@pld-linux.org>
Tue, 4 Jul 2023 09:58:18 +0000 (11:58 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 4 Jul 2023 09:58:18 +0000 (11:58 +0200)
bitcoin.spec
includes.patch [new file with mode: 0644]

index 2c119811ff363ba3b9642527f9dbe978d218241f..79d9cbe5b44eca3101110514960dbd3d08cae225 100644 (file)
@@ -10,6 +10,7 @@ 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: f822f7e798fbdc36e8fc18b355ab446d
+Patch0:                includes.patch
 Patch1:                univalue.patch
 URL:           http://www.bitcoin.org/
 BuildRequires: Qt5Core-devel >= 5.0
@@ -87,6 +88,7 @@ Portfel na bitcoiny oparty na Qt.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
 
 %build
diff --git a/includes.patch b/includes.patch
new file mode 100644 (file)
index 0000000..110760c
--- /dev/null
@@ -0,0 +1,30 @@
+--- bitcoin-22.0/src/support/lockedpool.cpp.orig       2021-09-08 20:16:07.000000000 +0200
++++ bitcoin-22.0/src/support/lockedpool.cpp    2023-07-04 11:29:13.358676698 +0200
+@@ -26,6 +26,7 @@
+ #include <iomanip>
+ #include <iostream>
+ #endif
++#include <stdexcept>
+ LockedPoolManager* LockedPoolManager::_instance = nullptr;
+--- bitcoin-22.0/src/util/bip32.h.orig 2021-09-08 20:16:07.000000000 +0200
++++ bitcoin-22.0/src/util/bip32.h      2023-07-04 11:31:38.309474568 +0200
+@@ -6,6 +6,7 @@
+ #define BITCOIN_UTIL_BIP32_H
+ #include <attributes.h>
++#include <cstdint>
+ #include <string>
+ #include <vector>
+--- bitcoin-22.0/src/util/string.h.orig        2021-09-08 20:16:07.000000000 +0200
++++ bitcoin-22.0/src/util/string.h     2023-07-04 11:34:16.117022848 +0200
+@@ -9,6 +9,7 @@
+ #include <algorithm>
+ #include <array>
++#include <cstdint>
+ #include <cstring>
+ #include <locale>
+ #include <sstream>
This page took 0.143106 seconds and 4 git commands to generate.