parent
31d7f00edc
commit
2844380e87
|
@ -0,0 +1,34 @@
|
|||
From 71964b22c7fade69cc4caa1c869a868e3a32cc97 Mon Sep 17 00:00:00 2001
|
||||
From: Christopher Kohlhoff <chris@kohlhoff.com>
|
||||
Date: Wed, 2 Mar 2022 21:41:04 +1100
|
||||
Subject: [PATCH] Header <utility> is needed for std::exchange.
|
||||
|
||||
---
|
||||
include/boost/asio/awaitable.hpp | 1 +
|
||||
include/boost/asio/impl/awaitable.hpp | 1 -
|
||||
2 files changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/boost/asio/awaitable.hpp b/include/boost/asio/awaitable.hpp
|
||||
index a9cc90d43..750198995 100644
|
||||
--- a/include/boost/asio/awaitable.hpp
|
||||
+++ b/include/boost/asio/awaitable.hpp
|
||||
@@ -25,6 +25,7 @@
|
||||
# include <experimental/coroutine>
|
||||
#endif // defined(BOOST_ASIO_HAS_STD_COROUTINE)
|
||||
|
||||
+#include <utility>
|
||||
#include <boost/asio/any_io_executor.hpp>
|
||||
|
||||
#include <boost/asio/detail/push_options.hpp>
|
||||
diff --git a/include/boost/asio/impl/awaitable.hpp b/include/boost/asio/impl/awaitable.hpp
|
||||
index 49a47e29a..c66fa74c6 100644
|
||||
--- a/include/boost/asio/impl/awaitable.hpp
|
||||
+++ b/include/boost/asio/impl/awaitable.hpp
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <exception>
|
||||
#include <new>
|
||||
#include <tuple>
|
||||
-#include <utility>
|
||||
#include <boost/asio/detail/thread_context.hpp>
|
||||
#include <boost/asio/detail/thread_info_base.hpp>
|
||||
#include <boost/asio/detail/type_traits.hpp>
|
|
@ -165,6 +165,9 @@ Patch102: boost-1.76.0-random-test.patch
|
|||
# https://github.com/boostorg/ptr_container/pull/27
|
||||
Patch105: boost-1.76.0-ptr_cont-xml.patch
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2106441
|
||||
Patch106: boost-1.76.0-asio-header.patch
|
||||
|
||||
%bcond_with tests
|
||||
%bcond_with docs_generated
|
||||
|
||||
|
@ -690,6 +693,7 @@ find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x
|
|||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch105 -p1
|
||||
%patch106 -p2
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
|
@ -1306,6 +1310,7 @@ fi
|
|||
- Add patch to fix CI failure
|
||||
- Add patch to fix XML validation errors in ptr_container docs
|
||||
- Add BuildRequires: libzstd-devel (#2042336)
|
||||
- Add patch to fix Asio includes (#2106441)
|
||||
|
||||
* Thu Aug 05 2021 Thomas Rodgers <trodgers@redhat.com> - 1.76.0-4
|
||||
- Third attempt at making the long double c99 and tr1 math libs conditional
|
||||
|
|
Loading…
Reference in New Issue