head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q2:1.1.1.1.0.28 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.26 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.24 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.22 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.20 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.18 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.16 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.14 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.12 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.10 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.8 pkgsrc-2008Q1:1.1.1.1.0.6 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.4 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.2 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.2 date 2010.08.27.06.11.50; author adam; state dead; branches; next 1.1; 1.1 date 2007.07.12.19.56.14; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.07.12.19.56.14; author drochner; state Exp; branches; next ; desc @@ 1.2 log @Changes 2.0.0: * No changelog available. @ text @$NetBSD: patch-ad,v 1.1 2007/07/12 19:56:14 drochner Exp $ --- simgear/sound/soundmgr_openal.cxx.orig 2007-07-12 20:01:48.000000000 +0200 +++ simgear/sound/soundmgr_openal.cxx @@@@ -37,6 +37,8 @@@@ # include #endif +#include + #if defined (__APPLE__) # ifdef __GNUC__ # if ( __GNUC__ >= 3 ) && ( __GNUC_MINOR__ >= 3 ) @@@@ -310,7 +312,7 @@@@ bool SGSoundMgr::stop( const string& ref // set source position of all managed sounds void SGSoundMgr::set_source_pos_all( ALfloat *pos ) { - if ( isnan(pos[0]) || isnan(pos[1]) || isnan(pos[2]) ) { + if ( std::isnan(pos[0]) || std::isnan(pos[1]) || std::isnan(pos[2]) ) { // bail if a bad position is passed in return; } @@@@ -326,7 +328,7 @@@@ void SGSoundMgr::set_source_pos_all( ALf // set source velocity of all managed sounds void SGSoundMgr::set_source_vel_all( ALfloat *vel ) { - if ( isnan(vel[0]) || isnan(vel[1]) || isnan(vel[2]) ) { + if ( std::isnan(vel[0]) || std::isnan(vel[1]) || std::isnan(vel[2]) ) { // bail if a bad velocity is passed in return; } @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @import simgear-0.3.10, prepared by Juan Romero Pardines in pkgsrc-wip This is a library fon 3d simulations, used by the flightgear flight simulator. @ text @@