freebsd-ports/science/paraview/files/patch-Plugins_PointSprite_StreamingView_VTK_vtkGridSampler2.cxx
Max Brazhnikov 7271a42704 - Update to 3.10.0 [1]
- Remove support for 6.x and add workaround for CMAKE_BUILD_TYPE
  while here I'm here

PR:		ports/156223 [1]
Submitted by:	Stas Timokhin (maintainer)
2011-04-09 16:01:01 +00:00

11 lines
343 B
C++

--- Plugins/StreamingView/VTK/vtkGridSampler2.cxx.orig 2011-04-01 13:42:14.000000000 +0700
+++ Plugins/StreamingView/VTK/vtkGridSampler2.cxx 2011-04-01 13:48:03.000000000 +0700
@@ -21,7 +21,7 @@
#include <math.h>
-#ifdef WIN32
+#if defined(WIN32) || defined(__FreeBSD__)
double log2(double value)
{
return log(value)/log(2.0);