head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.4 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2011.10.11.10.02.08; author adam; state dead; branches; next 1.1; 1.1 date 2011.10.02.10.20.28; author sbd; state Exp; branches; next ; desc @@ 1.2 log @Changes 1.47.0: New Libraries * Chrono: Useful time utilities * Geometry: Geometry Library * Phoenix: Define small unnamed function objects at the actual call site, and more * Ratio: Compile time rational arithmetic More: http://www.boost.org/users/history/version_1_47_0.html @ text @$NetBSD: patch-libs_config_test_boost__no__fenv__h.ipp,v 1.1 2011/10/02 10:20:28 sbd Exp $ The fenv.h test normaly fails with: ./../../libs/config/test/boost_no_fenv_h.ipp: In function 'int boost_no_fenv_h::test()': ./../../libs/config/test/boost_no_fenv_h.ipp:67:49: error: invalid conversion from 'int (*)()throw ()' to 'int (*)(fexcept_t*, int)' This causes BOOST_NO_FENV_H to be set (breaking boost-libs). --- libs/config/test/boost_no_fenv_h.ipp.orig 2010-12-31 17:08:07.000000000 +0000 +++ libs/config/test/boost_no_fenv_h.ipp @@@@ -61,7 +61,11 @@@@ int test() int (*has_feclearexcept)(int) = ::feclearexcept; int (*has_fegetenv)(fenv_t*) = ::fegetenv; - int (*has_fegetexcept)(fexcept_t*, int) = ::fegetexcept; + #ifdef __linux__ + int (*has_fegetexcept)(void) = ::fegetexcept; + #else + int (*has_fegetexcept)(fexcept_t*, int) = ::fegetexcept; + #endif int (*has_fegetround)(void) = ::fegetround; int (*has_feholdexcept)(fenv_t*) = ::feholdexcept; int (*has_feraiseexcept)(int) = ::feraiseexcept; @ 1.1 log @Fix the boost-header fenv.h test on linux. (The incorrectly failing test stops boost-libs from building.) Bump boost-header PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @