Merge tag 'upstream/0.3.8'
[anytun.git] / debian / patches / 02-boost1.67.patch
1 --- anytun-0.3.7.orig/src/anytunError.cpp
2 +++ anytun-0.3.7/src/anytunError.cpp
3 @@ -64,6 +64,6 @@ std::ostream& operator<<(std::ostream& s
4  
5  std::ostream& operator<<(std::ostream& stream, AnytunErrno const& value)
6  {
7 -  boost::system::system_error err(boost::system::error_code(value.err_, boost::system::get_system_category()));
8 +  boost::system::system_error err(boost::system::error_code(value.err_, boost::system::system_category()));
9    return stream << err.what();
10  }
11 --- anytun-0.3.7.orig/src/resolver.cpp
12 +++ anytun-0.3.7/src/resolver.cpp
13 @@ -81,7 +81,7 @@ ResolveHandler<Proto>::ResolveHandler(co
14  template<class Proto>
15  void ResolveHandler<Proto>::operator()(const boost::system::error_code& e, boost::asio::ip::basic_resolver_iterator<Proto> endpointIt)
16  {
17 -  if(boost::system::posix_error::success == e) {
18 +  if(boost::system::errc::success == e) {
19      try {
20        onResolve_(endpointIt);
21      } catch(const std::runtime_error& e) {
22