From 81a235b7d29509360c6c2df3c75093261c2748f4 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 21 Dec 2019 13:54:58 +0100 Subject: [PATCH] dev-libs/boost: Fix Boost.Bimap headers Bug: https://bugs.gentoo.org/703294 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert --- dev-libs/boost/boost-1.72.0.ebuild | 2 ++ ...g-serialization-split_member-include.patch | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-libs/boost/files/boost-1.72.0-missing-serialization-split_member-include.patch diff --git a/dev-libs/boost/boost-1.72.0.ebuild b/dev-libs/boost/boost-1.72.0.ebuild index 7434b5bd5d160..31a72e0170730 100644 --- a/dev-libs/boost/boost-1.72.0.ebuild +++ b/dev-libs/boost/boost-1.72.0.ebuild @@ -54,6 +54,8 @@ PATCHES=( "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch "${FILESDIR}"/${PN}-1.71.0-context-x32.patch "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch + # Bug 703294, incomplete Boost.Serialization refactoring + "${FILESDIR}"/${PN}-1.72.0-missing-serialization-split_member-include.patch ) python_bindings_needed() { diff --git a/dev-libs/boost/files/boost-1.72.0-missing-serialization-split_member-include.patch b/dev-libs/boost/files/boost-1.72.0-missing-serialization-split_member-include.patch new file mode 100644 index 0000000000000..0c9f72583efde --- /dev/null +++ b/dev-libs/boost/files/boost-1.72.0-missing-serialization-split_member-include.patch @@ -0,0 +1,29 @@ +Missing #include, as the split_member.hpp include is not +part of the nvp.hpp interface, and hence cannot be relied +upon to be included transitively. + +Confirmed on +https://github.com/boostorg/serialization/commit/c32a663c9963385430abc563f9c85f94d8da43a9#r36528430 + +Bug: https://bugs.gentoo.org/703294 + +--- a/boost/bimap/detail/map_view_iterator.hpp ++++ b/boost/bimap/detail/map_view_iterator.hpp +@@ -22,6 +22,7 @@ + + #ifndef BOOST_BIMAP_DISABLE_SERIALIZATION + #include ++ #include + #endif // BOOST_BIMAP_DISABLE_SERIALIZATION + + #include +--- a/boost/bimap/detail/set_view_iterator.hpp ++++ b/boost/bimap/detail/set_view_iterator.hpp +@@ -22,6 +22,7 @@ + + #ifndef BOOST_BIMAP_DISABLE_SERIALIZATION + #include ++ #include + #endif // BOOST_BIMAP_DISABLE_SERIALIZATION + + #include