summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-aq
blob: 2f87c377c51fe51c11032985889a8d80fa9d4208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-aq,v 1.5 2009/10/14 06:40:08 adam Exp $

--- boost/test/impl/execution_monitor.ipp.orig	2009-07-04 08:36:59.000000000 +0200
+++ boost/test/impl/execution_monitor.ipp
@@ -178,7 +178,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
 
@@ -290,6 +291,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,
@@ -571,6 +573,7 @@ system_signal_exception::report() const
     default:
         report_error( execution_exception::system_error, "unrecognized signal" );
     }
+#endif /* !__DragonFly__ */
 }
 
 //____________________________________________________________________________//