Accepting request 1078364 from network:cryptocurrencies
OBS-URL: https://build.opensuse.org/request/show/1078364 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitcoin?expand=0&rev=48
This commit is contained in:
commit
082d239e8a
42
392dc68e.patch
Normal file
42
392dc68e.patch
Normal file
@ -0,0 +1,42 @@
|
||||
From fadeb6b103cb441e0e91ef506ef29febabb10715 Mon Sep 17 00:00:00 2001
|
||||
From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
|
||||
Date: Thu, 19 Jan 2023 19:35:43 +0100
|
||||
Subject: [PATCH] Add missing includes to fix gcc-13 compile error
|
||||
|
||||
---
|
||||
src/support/lockedpool.cpp | 3 +++
|
||||
src/support/lockedpool.h | 4 ++--
|
||||
2 files changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp
|
||||
index fb59324f7a890..8b057433309fe 100644
|
||||
--- a/src/support/lockedpool.cpp
|
||||
+++ b/src/support/lockedpool.cpp
|
||||
@@ -19,6 +19,9 @@
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
+#include <limits>
|
||||
+#include <stdexcept>
|
||||
+#include <utility>
|
||||
#ifdef ARENA_DEBUG
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
diff --git a/src/support/lockedpool.h b/src/support/lockedpool.h
|
||||
index 03e4e371a3a98..66fbc218abfd9 100644
|
||||
--- a/src/support/lockedpool.h
|
||||
+++ b/src/support/lockedpool.h
|
||||
@@ -5,11 +5,11 @@
|
||||
#ifndef BITCOIN_SUPPORT_LOCKEDPOOL_H
|
||||
#define BITCOIN_SUPPORT_LOCKEDPOOL_H
|
||||
|
||||
-#include <stdint.h>
|
||||
+#include <cstddef>
|
||||
#include <list>
|
||||
#include <map>
|
||||
-#include <mutex>
|
||||
#include <memory>
|
||||
+#include <mutex>
|
||||
#include <unordered_map>
|
||||
|
||||
/**
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 11:56:11 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add 392dc68e.patch: Fix build with gcc 13.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 20 15:28:42 UTC 2022 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package bitcoin
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2011-2014 P Rusnak <prusnak@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -41,6 +41,7 @@ Source1: %{base}d.service
|
||||
Source3: %{base}d.conf
|
||||
Source4: %{base}.conf
|
||||
Patch0: harden_bitcoind.service.patch
|
||||
Patch1: https://github.com/bitcoin/bitcoin/commit/392dc68e.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
|
Loading…
Reference in New Issue
Block a user