devel/boost-libs: Backport fix building test framework on non-x86 platforms

This change backports an upstream commit [1] to fix building of the test
framework on non-x86 systems [2] due to not #include'ing osreldate.h prior
to testing __FreeBSD_version.

[1] https://svn.boost.org/trac/boost/changeset/62780
[2] https://svn.boost.org/trac/boost/ticket/3897

PR:		ports/182549
Submitted by:	jhibbits
Reviewed by:	bapt
Approved by:	office@ (bapt)
This commit is contained in:
Kubilay Kocak 2013-12-14 11:53:15 +00:00
parent ade94852b2
commit e180a475ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336438

View file

@ -0,0 +1,16 @@
# Description: Backport fix building test suite on non-x86 platforms
# PR: ports/182549
# Upstream Issue: https://svn.boost.org/trac/boost/ticket/3897
# Upstream Change: https://svn.boost.org/trac/boost/changeset/62780
--- ./boost/test/impl/execution_monitor.ipp.orig 2013-12-14 18:22:41.772892518 +1100
+++ ./boost/test/impl/execution_monitor.ipp 2013-12-14 18:23:15.554395963 +1100
@@ -156,6 +156,8 @@
# if defined(__FreeBSD__)
+# include <osreldate.h>
+
# ifndef SIGPOLL
# define SIGPOLL SIGIO
# endif