Subject: pkg/34730: blender solaris gcc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 10/06/2006 09:30:00
>Number: 34730
>Category: pkg
>Synopsis: blender solaris gcc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 06 09:30:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
>Description:
mising finite in solver_main.cpp
>How-To-Repeat:
bmake
>Fix:
--- intern/elbeem/intern/solver_main.cpp.orig Wed Nov 23 13:51:07 2005
+++ intern/elbeem/intern/solver_main.cpp Fri Oct 6 11:22:14 2006
@@ -10,6 +10,11 @@
#include "solver_class.h"
#include "solver_relax.h"
+// sirdude fix for solaris
+#if !defined(linux) && (defined (__sparc) || defined (__sparc__) || defined (__amd64))
+#include <ieeefp.h>
+#endif
+
/*****************************************************************************/
/*! perform a single LBM step */
/*****************************************************************************/