From 836243cbdb372416f8fe8e0af0f2c76b373c67c7 Mon Sep 17 00:00:00 2001 From: Patrick Dawson Date: Tue, 10 May 2005 15:35:52 +0000 Subject: initial import, probably broken (Portage version: 2.0.51.21-r1) --- sci-libs/vtk/files/digest-vtk-4.2.6 | 3 +++ sci-libs/vtk/files/vtk-4.2.6-gcc34.patch | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 sci-libs/vtk/files/digest-vtk-4.2.6 create mode 100644 sci-libs/vtk/files/vtk-4.2.6-gcc34.patch (limited to 'sci-libs/vtk/files') diff --git a/sci-libs/vtk/files/digest-vtk-4.2.6 b/sci-libs/vtk/files/digest-vtk-4.2.6 new file mode 100644 index 000000000000..2e9ba26c0038 --- /dev/null +++ b/sci-libs/vtk/files/digest-vtk-4.2.6 @@ -0,0 +1,3 @@ +MD5 41382fb3f8d15e76d7464c11045ee7a5 VTK-4.2-LatestRelease.tar.gz 6073644 +MD5 d2bf17b75e6664d89c3a5eba0a9ad24d VTKDocHtml-4.2.tar.gz 20973979 +MD5 2bbd1a62884906eac4f279441cbb9cfa VTKData-4.2.tar.gz 19257005 diff --git a/sci-libs/vtk/files/vtk-4.2.6-gcc34.patch b/sci-libs/vtk/files/vtk-4.2.6-gcc34.patch new file mode 100644 index 000000000000..b85d00f17572 --- /dev/null +++ b/sci-libs/vtk/files/vtk-4.2.6-gcc34.patch @@ -0,0 +1,38 @@ +diff -ur VTK.orig/IO/vtkBMPReader.cxx VTK/IO/vtkBMPReader.cxx +--- VTK.orig/IO/vtkBMPReader.cxx 2003-02-25 11:59:24.000000000 -0500 ++++ VTK/IO/vtkBMPReader.cxx 2005-03-03 00:20:31.000000000 -0500 +@@ -504,11 +504,11 @@ + outPtr0 += outIncr[0]; + } + // move to the next row in the file and data +- self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip0, ios::beg); ++ self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip0, ios::beg); + outPtr1 += outIncr[1]; + } + // move to the next image in the file and data +- self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip1, ios::beg); ++ self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip1, ios::beg); + outPtr2 += outIncr[2]; + } + +diff -ur VTK.orig/IO/vtkImageReader.cxx VTK/IO/vtkImageReader.cxx +--- VTK.orig/IO/vtkImageReader.cxx 2002-12-26 13:18:50.000000000 -0500 ++++ VTK/IO/vtkImageReader.cxx 2005-03-03 00:20:01.000000000 -0500 +@@ -366,7 +366,7 @@ + // if that happens, store the value in correction and apply later + if (filePos + streamSkip0 >= 0) + { +- self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip0, ios::beg); ++ self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip0, ios::beg); + correction = 0; + } + else +@@ -376,7 +376,7 @@ + outPtr1 += outIncr[1]; + } + // move to the next image in the file and data +- self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip1 + correction, ++ self->GetFile()->seekg(self->GetFile()->tellg() + (ios::pos_type)streamSkip1 + (ios::pos_type)correction, + ios::beg); + outPtr2 += outIncr[2]; + } -- cgit v1.2.3-65-gdbad