OpenBSD does not have the definitions for the signals SI_ASYNCIO and
SI_MESGQ. With this, the tests for wt (www.webtoolkit.eu, still work in
progress) compiles.

Kind regards
  Markus
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/boost/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    30 Aug 2010 22:03:58 -0000      1.26
+++ Makefile    19 Sep 2010 07:21:11 -0000
@@ -3,7 +3,7 @@
 COMMENT=       free peer-reviewed portable C++ source libraries
 
 PKGNAME=       boost-${VERSION}
-REVISION=      4
+REVISION=      5
 
 VERSION=       1.42.0
 DISTNAME=      boost_${VERSION:S/./_/g}
Index: patches/patch-boost_test_impl_execution_monitor_ipp
===================================================================
RCS file: patches/patch-boost_test_impl_execution_monitor_ipp
diff -N patches/patch-boost_test_impl_execution_monitor_ipp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-boost_test_impl_execution_monitor_ipp 19 Sep 2010 07:21:11 
-0000
@@ -0,0 +1,19 @@
+$OpenBSD$
+--- boost/test/impl/execution_monitor.ipp.orig Sun Sep 19 09:16:17 2010
++++ boost/test/impl/execution_monitor.ipp      Sun Sep 19 09:16:41 2010
+@@ -341,6 +341,7 @@ system_signal_exception::report() const
+         report_error( execution_exception::system_error,
+                       "signal: the expiration of a timer set by 
timer_settimer()" );
+         break;
++#if !defined(__OpenBSD__)
+     case SI_ASYNCIO:
+         report_error( execution_exception::system_error,
+                       "signal: generated by the completion of an asynchronous 
I/O request" );
+@@ -349,6 +350,7 @@ system_signal_exception::report() const
+         report_error( execution_exception::system_error,
+                       "signal: generated by the the arrival of a message on 
an empty message queue" );
+         break;
++#endif
+     default:
+         break;
+     }

Reply via email to