Files
pkgsrc-ng/meta-pkgs/boost/patches/patch-aq
T
2013-09-26 17:14:40 +02:00

31 lines
1.2 KiB
Plaintext

$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__ */
}
//____________________________________________________________________________//