$OpenBSD: patch-boost_math_tools_config_hpp,v 1.2 2011/11/02 11:54:15 jasper Exp $ --- boost/math/tools/config.hpp.orig Mon Oct 12 06:35:20 2009 +++ boost/math/tools/config.hpp Mon Oct 17 01:15:58 2011 @@ -24,7 +24,7 @@ #include #if defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) \ - || defined(__hppa) || defined(__NO_LONG_DOUBLE_MATH) + || (defined(__hppa) && !defined(__OpenBSD__)) || defined(__NO_LONG_DOUBLE_MATH) # define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS #endif #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x582))