=================================================================== RCS file: /cvs/ports/graphics/simgear/patches/Attic/patch-simgear_scene_sky_cloud_cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ports/graphics/simgear/patches/Attic/patch-simgear_scene_sky_cloud_cxx 2009/10/04 09:35:11 1.1 +++ ports/graphics/simgear/patches/Attic/patch-simgear_scene_sky_cloud_cxx 2010/03/02 14:22:22 1.2 @@ -1,21 +1,12 @@ -$OpenBSD: patch-simgear_scene_sky_cloud_cxx,v 1.1 2009/10/04 08:35:11 yason Exp $ ---- simgear/scene/sky/cloud.cxx.orig Thu Dec 13 20:44:14 2007 -+++ simgear/scene/sky/cloud.cxx Mon Sep 21 13:37:49 2009 -@@ -27,7 +27,7 @@ - #include - - // #include --#include -+#include - - #include - #include -@@ -721,7 +721,7 @@ bool SGCloudLayer::reposition( sgVec3 p, sgVec3 up, do +$OpenBSD: patch-simgear_scene_sky_cloud_cxx,v 1.2 2010/03/02 14:22:22 yason Exp $ +--- simgear/scene/sky/cloud.cxx.orig Tue Mar 2 18:14:25 2010 ++++ simgear/scene/sky/cloud.cxx Tue Mar 2 18:15:04 2010 +@@ -695,7 +695,7 @@ bool SGCloudLayer::reposition( const SGVec3f& p, const // this happens, lets just use the last known good course. // This is a hack, and it would probably be better to make // calc_gc_course_dist() more robust. - if ( isnan(course) ) { -+ if ( std::isnan(course) ) { ++ if ( __isnanf(course) ) { course = last_course; } else { last_course = course;