Bug#677561: Fix build with oce 0.10
Julien Cristau
julien.cristau at logilab.fr
Fri Jun 15 08:00:51 UTC 2012
On Thu, Jun 14, 2012 at 22:42:25 +0200, D. Barbier wrote:
> Package: freecad
> Version: 0.12.5284-dfsg-7
> Severity: wishlist
> Tags: patch
>
> Hello,
>
> This patch is needed to compile freecad with oce 0.10 currently
> in experimental.
>
> Denis
> diff --git a/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp b/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp
> index d03237f..13eec35 100644
> --- a/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp
> +++ b/src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp
> @@ -52,6 +52,7 @@
> #include <gp_Pnt.hxx>
> #include <gp_Vec.hxx>
> #include <gp_XYZ.hxx>
> +#include <math.h>
>
> #include "SMDS_Mesh.hxx"
> #include "SMDS_Iterator.hxx"
Shouldn't that (and a couple others) be <cmath>?
Cheers,
Julien
--
Julien Cristau <julien.cristau at logilab.fr>
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances
More information about the debian-science-maintainers
mailing list