Ticket #11070: boost-asio-socket-visibility.patch

File boost-asio-socket-visibility.patch, 1.2 KB (added by blastrock, 8 years ago)

possible fix to boost

  • boost/asio/ip/tcp.hpp

    diff -r -U 3 a/boost/asio/ip/tcp.hpp b/boost/asio/ip/tcp.hpp
    a b  
    3232namespace asio {
    3333namespace ip {
    3434
     35#pragma GCC visibility push (default)
     36
    3537/// Encapsulates the flags needed for TCP.
    3638/**
    3739 * The boost::asio::ip::tcp class contains flags necessary for TCP sockets.
     
    152154} // namespace asio
    153155} // namespace boost
    154156
     157#pragma GCC visibility pop
     158
    155159#include <boost/asio/detail/pop_options.hpp>
    156160
    157161#endif // BOOST_ASIO_IP_TCP_HPP
  • boost/asio/stream_socket_service.hpp

    diff -r -U 3 a/boost/asio/stream_socket_service.hpp b/boost/asio/stream_socket_service.hpp
    a b  
    3535namespace boost {
    3636namespace asio {
    3737
     38#pragma GCC visibility push (default)
     39
    3840/// Default service implementation for a stream socket.
    3941template <typename Protocol>
    4042class stream_socket_service
     
    370372  service_impl_type service_impl_;
    371373};
    372374
     375#pragma GCC visibility pop
     376
    373377} // namespace asio
    374378} // namespace boost
    375379