<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[140988] trunk/dports/devel/boost</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/140988">140988</a></dd>
<dt>Author</dt> <dd>michaelld@macports.org</dd>
<dt>Date</dt> <dd>2015-10-07 08:40:57 -0700 (Wed, 07 Oct 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>boost: add temporary patch to fix: explicit template instanciations in # boost::serialization don't get exported with all compilers. Add myself as potential maintainer along with ryandesign, but leaving openmaintainer too.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsdevelboostPortfile">trunk/dports/devel/boost/Portfile</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportsdevelboostfilespatchexport_serialization_explicit_template_instantiationsdiff">trunk/dports/devel/boost/files/patch-export_serialization_explicit_template_instantiations.diff</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsdevelboostPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/devel/boost/Portfile (140987 => 140988)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/boost/Portfile        2015-10-07 15:34:58 UTC (rev 140987)
+++ trunk/dports/devel/boost/Portfile        2015-10-07 15:40:57 UTC (rev 140988)
</span><span class="lines">@@ -7,11 +7,11 @@
</span><span class="cx">
</span><span class="cx"> name boost
</span><span class="cx"> version 1.59.0
</span><del>-revision 1
</del><ins>+revision 2
</ins><span class="cx"> license Boost-1
</span><span class="cx"> categories devel
</span><span class="cx"> platforms darwin
</span><del>-maintainers ryandesign openmaintainer
</del><ins>+maintainers ryandesign michaelld openmaintainer
</ins><span class="cx">
</span><span class="cx"> description Collection of portable C++ source libraries
</span><span class="cx">
</span><span class="lines">@@ -60,6 +60,15 @@
</span><span class="cx"> # OS versions without affecting build on 10.6 and less (where clang is not
</span><span class="cx"> # the default compiler) or 10.9 and up (where libc++ is the default).
</span><span class="cx">
</span><ins>+# temporary patch to fix: explicit template instanciations in
+# boost::serialization don't get exported with all compilers; this fix
+# is already in the boost repo & will be part of the next release. See
+# also the following tickets:
+# https://trac.macports.org/ticket/48717
+# https://svn.boost.org/trac/boost/ticket/11671
+
+patchfiles-append patch-export_serialization_explicit_template_instantiations.diff
+
</ins><span class="cx"> post-patch {
</span><span class="cx"> reinplace "s|%%CONFIGURE.CC%%|${configure.cc}|g" ${worksrcpath}/tools/build/src/engine/build.jam \
</span><span class="cx"> ${worksrcpath}/tools/build/src/engine/build.sh
</span></span></pre></div>
<a id="trunkdportsdevelboostfilespatchexport_serialization_explicit_template_instantiationsdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/devel/boost/files/patch-export_serialization_explicit_template_instantiations.diff (0 => 140988)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/devel/boost/files/patch-export_serialization_explicit_template_instantiations.diff         (rev 0)
+++ trunk/dports/devel/boost/files/patch-export_serialization_explicit_template_instantiations.diff        2015-10-07 15:40:57 UTC (rev 140988)
</span><span class="lines">@@ -0,0 +1,510 @@
</span><ins>+--- libs/serialization/src/basic_text_iprimitive.cpp.orig
++++ libs/serialization/src/basic_text_iprimitive.cpp
+@@ -12,7 +12,9 @@
+ # pragma warning (disable : 4786) // too long name, harmless warning
+ #endif
+
++#pragma GCC visibility push(default)
+ #include <istream>
++#pragma GCC visibility pop
+
+ #define BOOST_ARCHIVE_SOURCE
+ #include <boost/archive/detail/auto_link_archive.hpp>
+@@ -22,7 +24,7 @@
+ namespace archive {
+
+ // explicitly instantiate for this type of text stream
+-template class basic_text_iprimitive<std::istream> ;
++template class BOOST_SYMBOL_VISIBLE basic_text_iprimitive<std::istream> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/basic_text_oprimitive.cpp.orig
++++ libs/serialization/src/basic_text_oprimitive.cpp
+@@ -12,7 +12,9 @@
+ # pragma warning (disable : 4786) // too long name, harmless warning
+ #endif
+
++#pragma GCC visibility push(default)
+ #include <ostream>
++#pragma GCC visibility pop
+
+ #define BOOST_ARCHIVE_SOURCE
+ #include <boost/archive/detail/auto_link_archive.hpp>
+@@ -22,7 +24,7 @@
+ namespace archive {
+
+ // explicitly instantiate for this type of text stream
+-template class basic_text_oprimitive<std::ostream> ;
++template class BOOST_SYMBOL_VISIBLE basic_text_oprimitive<std::ostream> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/basic_text_wiprimitive.cpp.orig
++++ libs/serialization/src/basic_text_wiprimitive.cpp
+@@ -18,7 +18,9 @@
+ # pragma warning (disable : 4786) // too long name, harmless warning
+ #endif
+
++#pragma GCC visibility push(default)
+ #include <istream>
++#pragma GCC visibility pop
+
+ #define BOOST_WARCHIVE_SOURCE
+ #include <boost/archive/detail/auto_link_warchive.hpp>
+@@ -27,7 +29,7 @@
+ namespace boost {
+ namespace archive {
+
+-template class basic_text_iprimitive<std::wistream> ;
++template class BOOST_SYMBOL_VISIBLE basic_text_iprimitive<std::wistream> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/basic_text_woprimitive.cpp.orig
++++ libs/serialization/src/basic_text_woprimitive.cpp
+@@ -18,7 +18,9 @@
+ # pragma warning (disable : 4786) // too long name, harmless warning
+ #endif
+
++#pragma GCC visibility push(default)
+ #include <ostream>
++#pragma GCC visibility pop
+
+ #define BOOST_WARCHIVE_SOURCE
+ #include <boost/archive/detail/auto_link_warchive.hpp>
+@@ -27,7 +29,7 @@
+ namespace boost {
+ namespace archive {
+
+-template class basic_text_oprimitive<std::wostream> ;
++template class BOOST_SYMBOL_VISIBLE basic_text_oprimitive<std::wostream> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/basic_xml_grammar.ipp.orig
++++ libs/serialization/src/basic_xml_grammar.ipp
+@@ -12,7 +12,9 @@
+ # pragma warning (disable : 4786) // too long name, harmless warning
+ #endif
+
++#pragma GCC visibility push(default)
+ #include <istream>
++#pragma GCC visibility pop
+ #include <algorithm>
+ #include <boost/config.hpp> // typename
+
+--- libs/serialization/src/binary_iarchive.cpp.orig
++++ libs/serialization/src/binary_iarchive.cpp
+@@ -8,10 +8,14 @@
+
+ // See http://www.boost.org for updates, documentation, and revision history.
+
++#pragma GCC visibility push(default)
+ #include <istream>
++#pragma GCC visibility pop
+
+ #define BOOST_ARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/binary_iarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ #include <boost/archive/impl/archive_serializer_map.ipp>
+@@ -22,14 +26,14 @@
+ namespace archive {
+
+ // explicitly instantiate for this type of stream
+-template class detail::archive_serializer_map<binary_iarchive>;
+-template class basic_binary_iprimitive<
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<binary_iarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_binary_iprimitive<
+ binary_iarchive,
+ std::istream::char_type,
+ std::istream::traits_type
+ >;
+-template class basic_binary_iarchive<binary_iarchive> ;
+-template class binary_iarchive_impl<
++template class BOOST_SYMBOL_VISIBLE basic_binary_iarchive<binary_iarchive> ;
++template class BOOST_SYMBOL_VISIBLE binary_iarchive_impl<
+ binary_iarchive,
+ std::istream::char_type,
+ std::istream::traits_type
+--- libs/serialization/src/binary_oarchive.cpp.orig
++++ libs/serialization/src/binary_oarchive.cpp
+@@ -8,10 +8,14 @@
+
+ // See http://www.boost.org for updates, documentation, and revision history.
+
++#pragma GCC visibility push(default)
+ #include <ostream>
++#pragma GCC visibility pop
+
+ #define BOOST_ARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/binary_oarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of binary stream
+@@ -22,14 +26,14 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<binary_oarchive>;
+-template class basic_binary_oprimitive<
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<binary_oarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_binary_oprimitive<
+ binary_oarchive,
+ std::ostream::char_type,
+ std::ostream::traits_type
+ >;
+-template class basic_binary_oarchive<binary_oarchive> ;
+-template class binary_oarchive_impl<
++template class BOOST_SYMBOL_VISIBLE basic_binary_oarchive<binary_oarchive> ;
++template class BOOST_SYMBOL_VISIBLE binary_oarchive_impl<
+ binary_oarchive,
+ std::ostream::char_type,
+ std::ostream::traits_type
+--- libs/serialization/src/binary_wiarchive.cpp.orig
++++ libs/serialization/src/binary_wiarchive.cpp
+@@ -15,7 +15,9 @@
+ #else
+
+ #define BOOST_WARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/binary_wiarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of text stream
+@@ -27,14 +29,14 @@
+ namespace archive {
+
+ // explicitly instantiate for this type of text stream
+-template class detail::archive_serializer_map<binary_wiarchive>;
+-template class basic_binary_iprimitive<
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<binary_wiarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_binary_iprimitive<
+ binary_wiarchive,
+ wchar_t,
+ std::char_traits<wchar_t>
+ >;
+-template class basic_binary_iarchive<binary_wiarchive> ;
+-template class binary_iarchive_impl<
++template class BOOST_SYMBOL_VISIBLE basic_binary_iarchive<binary_wiarchive> ;
++template class BOOST_SYMBOL_VISIBLE binary_iarchive_impl<
+ binary_wiarchive,
+ wchar_t,
+ std::char_traits<wchar_t>
+--- libs/serialization/src/binary_woarchive.cpp.orig
++++ libs/serialization/src/binary_woarchive.cpp
+@@ -15,7 +15,9 @@
+ #else
+
+ #define BOOST_WARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/binary_woarchive.hpp>
++#pragma GCC visibility pop
+
+ // explicitly instantiate for this type of text stream
+ #include <boost/archive/impl/archive_serializer_map.ipp>
+@@ -25,14 +27,14 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<binary_woarchive>;
+-template class basic_binary_oprimitive<
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<binary_woarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_binary_oprimitive<
+ binary_woarchive,
+ wchar_t,
+ std::char_traits<wchar_t>
+ >;
+-template class basic_binary_oarchive<binary_woarchive> ;
+-template class binary_oarchive_impl<
++template class BOOST_SYMBOL_VISIBLE basic_binary_oarchive<binary_woarchive> ;
++template class BOOST_SYMBOL_VISIBLE binary_oarchive_impl<
+ binary_woarchive,
+ wchar_t,
+ std::char_traits<wchar_t>
+--- libs/serialization/src/polymorphic_iarchive.cpp.orig
++++ libs/serialization/src/polymorphic_iarchive.cpp
+@@ -16,13 +16,15 @@
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ #include <boost/archive/impl/archive_serializer_map.ipp>
++#pragma GCC visibility push(default)
+ #include <boost/archive/polymorphic_iarchive.hpp>
++#pragma GCC visibility pop
+
+ namespace boost {
+ namespace archive {
+ namespace detail {
+
+-template class archive_serializer_map<polymorphic_iarchive>;
++template class BOOST_SYMBOL_VISIBLE archive_serializer_map<polymorphic_iarchive>;
+
+ } // detail
+ } // archive
+--- libs/serialization/src/polymorphic_oarchive.cpp.orig
++++ libs/serialization/src/polymorphic_oarchive.cpp
+@@ -16,13 +16,15 @@
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ #include <boost/archive/impl/archive_serializer_map.ipp>
++#pragma GCC visibility push(default)
+ #include <boost/archive/polymorphic_oarchive.hpp>
++#pragma GCC visibility pop
+
+ namespace boost {
+ namespace archive {
+ namespace detail {
+
+-template class archive_serializer_map<polymorphic_oarchive>;
++template class BOOST_SYMBOL_VISIBLE archive_serializer_map<polymorphic_oarchive>;
+
+ } // detail
+ } // archive
+--- libs/serialization/src/text_iarchive.cpp.orig
++++ libs/serialization/src/text_iarchive.cpp
+@@ -13,7 +13,9 @@
+ #endif
+
+ #define BOOST_ARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/text_iarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of text stream
+@@ -24,9 +26,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<text_iarchive>;
+-template class basic_text_iarchive<text_iarchive> ;
+-template class text_iarchive_impl<text_iarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<text_iarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_text_iarchive<text_iarchive> ;
++template class BOOST_SYMBOL_VISIBLE text_iarchive_impl<text_iarchive> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/text_oarchive.cpp.orig
++++ libs/serialization/src/text_oarchive.cpp
+@@ -13,7 +13,9 @@
+ #endif
+
+ #define BOOST_ARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/text_oarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of text stream
+@@ -25,9 +27,9 @@
+ namespace archive {
+
+ //template class basic_text_oprimitive<std::ostream> ;
+-template class detail::archive_serializer_map<text_oarchive>;
+-template class basic_text_oarchive<text_oarchive> ;
+-template class text_oarchive_impl<text_oarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<text_oarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_text_oarchive<text_oarchive> ;
++template class BOOST_SYMBOL_VISIBLE text_oarchive_impl<text_oarchive> ;
+
+ } // namespace serialization
+ } // namespace boost
+--- libs/serialization/src/text_wiarchive.cpp.orig
++++ libs/serialization/src/text_wiarchive.cpp
+@@ -15,7 +15,9 @@
+ #else
+
+ #define BOOST_WARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/text_wiarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of text stream
+@@ -26,9 +28,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<text_wiarchive>;
+-template class basic_text_iarchive<text_wiarchive> ;
+-template class text_wiarchive_impl<text_wiarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<text_wiarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_text_iarchive<text_wiarchive> ;
++template class BOOST_SYMBOL_VISIBLE text_wiarchive_impl<text_wiarchive> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/text_woarchive.cpp.orig
++++ libs/serialization/src/text_woarchive.cpp
+@@ -14,7 +14,9 @@
+ #else
+
+ #define BOOST_WARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/text_woarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of text stream
+@@ -25,9 +27,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<text_woarchive>;
+-template class basic_text_oarchive<text_woarchive> ;
+-template class text_woarchive_impl<text_woarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<text_woarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_text_oarchive<text_woarchive> ;
++template class BOOST_SYMBOL_VISIBLE text_woarchive_impl<text_woarchive> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/xml_grammar.cpp.orig
++++ libs/serialization/src/xml_grammar.cpp
+@@ -13,7 +13,9 @@
+ #endif
+
+ #define BOOST_ARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/impl/basic_xml_grammar.hpp>
++#pragma GCC visibility pop
+
+ using namespace boost::spirit::classic;
+
+@@ -66,7 +68,7 @@
+ namespace archive {
+
+ // explicit instantiation of xml for 8 bit characters
+-template class basic_xml_grammar<char>;
++template class BOOST_SYMBOL_VISIBLE basic_xml_grammar<char>;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/xml_iarchive.cpp.orig
++++ libs/serialization/src/xml_iarchive.cpp
+@@ -17,7 +17,9 @@
+ #include <boost/config.hpp>
+ #include <boost/detail/workaround.hpp>
+
++#pragma GCC visibility push(default)
+ #include <boost/archive/xml_iarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of xml stream
+@@ -28,9 +30,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<xml_iarchive>;
+-template class basic_xml_iarchive<xml_iarchive> ;
+-template class xml_iarchive_impl<xml_iarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<xml_iarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_xml_iarchive<xml_iarchive> ;
++template class BOOST_SYMBOL_VISIBLE xml_iarchive_impl<xml_iarchive> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/xml_oarchive.cpp.orig
++++ libs/serialization/src/xml_oarchive.cpp
+@@ -13,7 +13,9 @@
+ #endif
+
+ #define BOOST_ARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/xml_oarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of xml stream
+@@ -24,9 +26,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<xml_oarchive>;
+-template class basic_xml_oarchive<xml_oarchive> ;
+-template class xml_oarchive_impl<xml_oarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<xml_oarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_xml_oarchive<xml_oarchive> ;
++template class BOOST_SYMBOL_VISIBLE xml_oarchive_impl<xml_oarchive> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/xml_wgrammar.cpp.orig
++++ libs/serialization/src/xml_wgrammar.cpp
+@@ -15,7 +15,9 @@
+ #else
+
+ #define BOOST_WARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/impl/basic_xml_grammar.hpp>
++#pragma GCC visibility pop
+
+ using namespace boost::spirit::classic;
+
+@@ -149,7 +151,7 @@
+ namespace archive {
+
+ // explicit instantiation of xml for wide characters
+-template class basic_xml_grammar<wchar_t>;
++template class BOOST_SYMBOL_VISIBLE basic_xml_grammar<wchar_t>;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/xml_wiarchive.cpp.orig
++++ libs/serialization/src/xml_wiarchive.cpp
+@@ -21,7 +21,9 @@
+
+ #define BOOST_WARCHIVE_SOURCE
+
++#pragma GCC visibility push(default)
+ #include <boost/archive/xml_wiarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of xml stream
+@@ -32,9 +34,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<xml_wiarchive>;
+-template class basic_xml_iarchive<xml_wiarchive> ;
+-template class xml_wiarchive_impl<xml_wiarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<xml_wiarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_xml_iarchive<xml_wiarchive> ;
++template class BOOST_SYMBOL_VISIBLE xml_wiarchive_impl<xml_wiarchive> ;
+
+ } // namespace archive
+ } // namespace boost
+--- libs/serialization/src/xml_woarchive.cpp.orig
++++ libs/serialization/src/xml_woarchive.cpp
+@@ -14,7 +14,9 @@
+ #else
+
+ #define BOOST_WARCHIVE_SOURCE
++#pragma GCC visibility push(default)
+ #include <boost/archive/xml_woarchive.hpp>
++#pragma GCC visibility pop
+ #include <boost/archive/detail/archive_serializer_map.hpp>
+
+ // explicitly instantiate for this type of text stream
+@@ -25,9 +27,9 @@
+ namespace boost {
+ namespace archive {
+
+-template class detail::archive_serializer_map<xml_woarchive>;
+-template class basic_xml_oarchive<xml_woarchive> ;
+-template class xml_woarchive_impl<xml_woarchive> ;
++template class BOOST_SYMBOL_VISIBLE detail::archive_serializer_map<xml_woarchive>;
++template class BOOST_SYMBOL_VISIBLE basic_xml_oarchive<xml_woarchive> ;
++template class BOOST_SYMBOL_VISIBLE xml_woarchive_impl<xml_woarchive> ;
+
+ } // namespace archive
+ } // namespace boost
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>
</body>
</html>