pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/vtk make this compile with newer g++



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8cc8cc537b7
branches:  trunk
changeset: 525834:a8cc8cc537b7
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Feb 23 20:21:09 2007 +0000

description:
make this compile with newer g++

diffstat:

 graphics/vtk/distinfo         |   4 +++-
 graphics/vtk/patches/patch-ac |  13 +++++++++++++
 graphics/vtk/patches/patch-ad |  13 +++++++++++++
 3 files changed, 29 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 5b6a482e6ebd -r a8cc8cc537b7 graphics/vtk/distinfo
--- a/graphics/vtk/distinfo     Fri Feb 23 20:17:47 2007 +0000
+++ b/graphics/vtk/distinfo     Fri Feb 23 20:21:09 2007 +0000
@@ -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 -r 5b6a482e6ebd -r a8cc8cc537b7 graphics/vtk/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vtk/patches/patch-ac     Fri Feb 23 20:21:09 2007 +0000
@@ -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 -r 5b6a482e6ebd -r a8cc8cc537b7 graphics/vtk/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/vtk/patches/patch-ad     Fri Feb 23 20:21:09 2007 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index