Package: boost1.35
Severity: important
Version: 1.35.0-5
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

The FreeBSD kernel uses the same value for POLL_ERR and POLL_HUP,
see http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/signal.h

Please use patch bellow to cope with this.

It would also be nice if you can ask upstream
to include similar change.

Thanks in advance

                        Petr

--- boost/test/impl/execution_monitor.ipp
+++ boost/test/impl/execution_monitor.ipp
@@ -465,11 +465,13 @@
                               "high priority input available; band event %d",
                               (int)m_sig_info->si_band );
                 break;
+#if defined(POLL_ERR) && defined(POLL_HUP) && (POLL_ERR - POLL_HUP)
             case POLL_HUP:
                 report_error( execution_exception::system_error,
                               "device disconnected; band event %d",
                               (int)m_sig_info->si_band );
                 break;
+#endif
             }
             break;





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to