summarylogtreecommitdiffstats
path: root/fix-build-for-gcc11.patch
diff options
context:
space:
mode:
authorLeo P2021-08-30 22:31:12 -0400
committerLeo P2021-08-30 22:32:39 -0400
commitd3fe3764d05c52f7aed646f260bfd5b674c773fc (patch)
treee81bc5e437df4e8cad3a7ec272d787731a62f949 /fix-build-for-gcc11.patch
parentfea545b403d1a5fe79183230621c8c5214d0b079 (diff)
downloadaur-nanocurrency.tar.gz
version bump
Diffstat (limited to 'fix-build-for-gcc11.patch')
-rw-r--r--fix-build-for-gcc11.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/fix-build-for-gcc11.patch b/fix-build-for-gcc11.patch
new file mode 100644
index 00000000000..fac738160a5
--- /dev/null
+++ b/fix-build-for-gcc11.patch
@@ -0,0 +1,24 @@
+From 1b2bbf7b5f2ff585796a8a9644d04fe7beb5777a Mon Sep 17 00:00:00 2001
+From: Leo P <junk@slact.net>
+Date: Mon, 30 Aug 2021 21:56:30 -0400
+Subject: [PATCH] fix failure to build with GCC11
+
+---
+ nano/lib/threading.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/nano/lib/threading.hpp b/nano/lib/threading.hpp
+index f6ab4e18..5f09666f 100644
+--- a/nano/lib/threading.hpp
++++ b/nano/lib/threading.hpp
+@@ -5,6 +5,7 @@
+ #include <nano/lib/utility.hpp>
+
+ #include <boost/thread/thread.hpp>
++#include <thread>
+
+ namespace nano
+ {
+--
+2.33.0
+