diff --git a/boost-1.64.0-serialization-make_array.patch b/boost-1.64.0-serialization-make_array.patch new file mode 100644 index 0000000..b8129dd --- /dev/null +++ b/boost-1.64.0-serialization-make_array.patch @@ -0,0 +1,23 @@ +From 1d86261581230e2dc5d617a9b16287d326f3e229 Mon Sep 17 00:00:00 2001 +From: Robert Ramey +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 ++ + #ifndef BOOST_NO_CXX11_HDR_ARRAY + + #include diff --git a/boost.spec b/boost.spec index b3e43c1..6160a95 100644 --- a/boost.spec +++ b/boost.spec @@ -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 - 1.64.0-0.3 +- Add patch to fix make_array in serialization + * Fri Jul 21 2017 Kalev Lember - 1.64.0-0.2 - Rebuild for std::__once_functor linking issue on ppc64le (#1470692)