ports/cad/netgen/files/patch-libsrc_occ_Partition_Loop2d.cxx
Stephen Montgomery-Smith a7feb8d3d7 - Change option OCC (build with opencascade libraries) to default to on.
- Bump portrevision.

PR:		ports/178538
Submitted by:	thierry@FreeBSD.org
2013-05-17 03:24:24 +00:00

13 lines
402 B
C++

--- libsrc/occ/Partition_Loop2d.cxx.orig 2012-11-09 16:15:02.000000000 +0100
+++ libsrc/occ/Partition_Loop2d.cxx 2013-05-12 11:41:09.000000000 +0200
@@ -52,6 +52,10 @@
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
+#ifndef PI
+#define PI 3.14159265358979323846
+#endif
+
//=======================================================================
//function : Partition_Loop2d
//purpose :