summaryrefslogtreecommitdiff
path: root/graphics/vtk/patches
diff options
context:
space:
mode:
authordrochner <drochner>2007-02-23 20:21:09 +0000
committerdrochner <drochner>2007-02-23 20:21:09 +0000
commit0b281d25a1512b79dfefb46dcf233d8f7f860f23 (patch)
tree46da847a9a61cf01db13becf85d5aba9827b9453 /graphics/vtk/patches
parent53b44e69e88bd07662185b6f160a15709390e95f (diff)
downloadpkgsrc-0b281d25a1512b79dfefb46dcf233d8f7f860f23.tar.gz
make this compile with newer g++
Diffstat (limited to 'graphics/vtk/patches')
-rw-r--r--graphics/vtk/patches/patch-ac13
-rw-r--r--graphics/vtk/patches/patch-ad13
2 files changed, 26 insertions, 0 deletions
diff --git a/graphics/vtk/patches/patch-ac b/graphics/vtk/patches/patch-ac
new file mode 100644
index 00000000000..bc227e8c7d1
--- /dev/null
+++ b/graphics/vtk/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/02/23 20:21:09 drochner Exp $
+
+--- Rendering/vtkVolumeRayCastMapper.h.orig 2007-02-23 16:09:27.000000000 +0100
++++ Rendering/vtkVolumeRayCastMapper.h
+@@ -80,6 +80,8 @@ inline int vtkRoundFuncMacro(double x)
+ t1 = t10 + (y)*(t11-t10); \
+ v = t0 + (z)*(t1-t0);
+
++VTK_THREAD_RETURN_TYPE VolumeRayCastMapper_CastRays( void * );
++
+ class VTK_RENDERING_EXPORT vtkVolumeRayCastMapper : public vtkVolumeMapper
+ {
+ public:
diff --git a/graphics/vtk/patches/patch-ad b/graphics/vtk/patches/patch-ad
new file mode 100644
index 00000000000..18946b4131b
--- /dev/null
+++ b/graphics/vtk/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2007/02/23 20:21:09 drochner Exp $
+
+--- Rendering/vtkXRenderWindowInteractor.h.orig 2007-02-23 16:13:26.000000000 +0100
++++ Rendering/vtkXRenderWindowInteractor.h
+@@ -42,6 +42,8 @@
+
+ class vtkCallbackCommand;
+
++void vtkXRenderWindowInteractorCallback(Widget,XtPointer, XEvent *,Boolean *);
++
+ class VTK_RENDERING_EXPORT vtkXRenderWindowInteractor : public vtkRenderWindowInteractor
+ {
+ public: