[pkg-boost-devel] Bug#492786: boost1.35: FTBFS on GNU/kFreeBSD

Petr Salinger Petr.Salinger at seznam.cz
Mon Jul 28 20:45:04 UTC 2008


Package: boost1.35
Severity: important
Version: 1.35.0-5
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
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;







More information about the pkg-boost-devel mailing list