pkgsrc/meta-pkgs/boost/patches/patch-aq
adam 015cb6a9fa Changes 1.45.0:
* Fixed a problem on kqueue-based platforms where a deadline_timer
  may never fire if the io_service is running in a background thread
* Fixed a const-correctness issue that prevented valid uses of
  has_service<> from compiling
* Fixed MinGW cross-compilation
* Removed dependency on deprecated Boost.System functions
* Ensured close()/closesocket() failures are correctly propagated
* Added a check for errors returned by
  InitializeCriticalSectionAndSpinCount
* Added support for hardware flow control on QNX
* Always use pselect() on HP-UX, if it is available.
* Ensured handler arguments are passed as lvalues
* Fixed Windows build when thread support is disabled
* Fixed a Windows-specific problem where deadline_timer objects with
  expiry times set more than 5 minutes in the future may never expire
* Fixed the resolver backend on BSD platforms so that an empty service
  name resolves to port number 0, as per the documentation
* Fixed read operations so that they do not accept buffer sequences of
  type const_buffers_1
* Redefined Protocol and id to avoid clashing with Objective-C++ keywords
* Fixed a vector reallocation performance issue that can occur when
  there are many active deadline_timer objects
* Fixed the kqueue backend so that it compiles on NetBSD
* Fixed the socket io_control() implementation on 64-bit Mac OS X and
  BSD platforms
* Fixed a Windows-specific problem where failures from accept() are
  incorrectly treated as successes
* Deprecated the separate compilation header <boost/asio/impl/src.cpp>
  in favour of <boost/asio/impl/src.hpp>
2010-11-26 20:46:59 +00:00

30 lines
1.2 KiB
Text

$NetBSD: patch-aq,v 1.6 2010/11/26 20:47:01 adam Exp $
--- boost/test/impl/execution_monitor.ipp.orig 2009-11-28 09:19:18.000000000 +0000
+++ boost/test/impl/execution_monitor.ipp
@@ -180,7 +180,8 @@ namespace { void _set_se_translator( voi
# if defined(SIGPOLL) && !defined(__CYGWIN__) && \
!(defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && \
!defined(__NetBSD__) && \
- !defined(__QNXNTO__)
+ !defined(__QNXNTO__) && \
+ !defined(__DragonFly__)
# define BOOST_TEST_CATCH_SIGPOLL
# endif
@@ -327,6 +328,7 @@ system_signal_exception::report() const
if( !m_sig_info )
return; // no error actually occur?
+#if !defined(__DragonFly__)
switch( m_sig_info->si_code ) {
case SI_USER:
report_error( execution_exception::system_error,
@@ -608,6 +610,7 @@ system_signal_exception::report() const
default:
report_error( execution_exception::system_error, "unrecognized signal" );
}
+#endif /* !__DragonFly__ */
}
//____________________________________________________________________________//