summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-02-23 20:21:09 +0000
committerdrochner <drochner@pkgsrc.org>2007-02-23 20:21:09 +0000
commit1d8e6b951c1b978a375da6a7929cf76e90be4647 (patch)
tree46da847a9a61cf01db13becf85d5aba9827b9453 /graphics
parentb20be0fdf7a2b648b62adefb3a4e1b9e5b2e53d4 (diff)
downloadpkgsrc-1d8e6b951c1b978a375da6a7929cf76e90be4647.tar.gz
make this compile with newer g++
Diffstat (limited to 'graphics')
-rw-r--r--graphics/vtk/distinfo4
-rw-r--r--graphics/vtk/patches/patch-ac13
-rw-r--r--graphics/vtk/patches/patch-ad13
3 files changed, 29 insertions, 1 deletions
diff --git a/graphics/vtk/distinfo b/graphics/vtk/distinfo
index ca7ea0294da..245f8591324 100644
--- a/graphics/vtk/distinfo
+++ b/graphics/vtk/distinfo
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.3 2006/09/24 15:53:06 joerg Exp $
+$NetBSD: distinfo,v 1.4 2007/02/23 20:21:09 drochner Exp $
SHA1 (VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz) = 31ab01c16b3d44ce201d8180af431833cf6527d8
RMD160 (VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz) = 71a092cf929cfaeeb8f297334cadb829209b9ad7
Size (VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz) = 6073644 bytes
SHA1 (patch-aa) = dbda07f15a60a0e66ce50e50addcf85d4c2b840c
SHA1 (patch-ab) = 83d063aaf1924daff17a45fb92316743fbb448f3
+SHA1 (patch-ac) = 59977568e92ba01344447c0c0b1c770d26e460bb
+SHA1 (patch-ad) = efc49225d42953bb2fd0e099130e415a78b5b522
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: