Add patch to fix make_array in serialization

This commit is contained in:
Björn Esser 2017-07-24 12:27:21 +02:00
parent 91387222f5
commit c54b0a0c9e
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From 1d86261581230e2dc5d617a9b16287d326f3e229 Mon Sep 17 00:00:00 2001
From: Robert Ramey <ramey@rrsd.com>
Date: Wed, 1 Feb 2017 16:43:59 -0800
Subject: [PATCH] correct error which appeared when compiling non c++ compliant
code for arrays
---
include/boost/serialization/array.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/boost/serialization/array.hpp b/include/boost/serialization/array.hpp
index 61708b307..612d1a619 100644
--- a/include/boost/serialization/array.hpp
+++ b/include/boost/serialization/array.hpp
@@ -23,6 +23,8 @@ namespace std{
} // namespace std
#endif
+#include <boost/serialization/array_wrapper.hpp>
+
#ifndef BOOST_NO_CXX11_HDR_ARRAY
#include <array>

View File

@ -35,7 +35,7 @@ Name: boost
Summary: The free peer-reviewed portable C++ source libraries
Version: 1.64.0
%global version_enc 1_64_0
Release: 0.2%{?dist}
Release: 0.3%{?dist}
License: Boost and MIT and Python
%global toplev_dirname %{name}_%{version_enc}
@ -138,6 +138,10 @@ Patch84: boost-1.64.0-mpi-get_data.patch
# https://github.com/boostorg/mpi/pull/40
Patch85: boost-1.64.0-mpi-make_array.patch
# https://svn.boost.org/trac10/ticket/12516
# https://github.com/boostorg/serialization/commit/1d86261581230e2dc5d617a9b16287d326f3e229
Patch86: boost-1.64.0-serialization-make_array.patch
%bcond_with tests
%bcond_with docs_generated
@ -755,6 +759,7 @@ a number of significant features and is now developed independently
%patch83 -p1
%patch84 -p2
%patch85 -p2
%patch86 -p2
# At least python2_version needs to be a macro so that it's visible in
# %%install as well.
@ -1544,6 +1549,9 @@ fi
%{_mandir}/man1/bjam.1*
%changelog
* Mon Jul 24 2017 Björn Esser <besser82@fedoraproject.org> - 1.64.0-0.3
- Add patch to fix make_array in serialization
* Fri Jul 21 2017 Kalev Lember <klember@redhat.com> - 1.64.0-0.2
- Rebuild for std::__once_functor linking issue on ppc64le (#1470692)