summaryrefslogtreecommitdiff
path: root/math/vtk43/files
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-04-23 14:12:36 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-04-23 14:12:36 +0000
commit96b7b4c3a5872542df3e3f35b3a453c6acbbade0 (patch)
tree2e4846a0c3c6b3f56ddedbe05c19851ce72e157b /math/vtk43/files
parentOCaml library implementing an interface to FreeBSD's POSIX semaphores. (diff)
Update math/vtk-* to version 4.4
PR: ports/77038 Submitted by: Mykola Khotyaintsev <ko@irfu.se> (maintainer) Approved by: clement (mentor)
Notes
Notes: svn path=/head/; revision=134001
Diffstat (limited to 'math/vtk43/files')
-rw-r--r--math/vtk43/files/patch-IO-vtkBMPReader.cxx16
-rw-r--r--math/vtk43/files/patch-IO-vtkImageReader.cxx30
2 files changed, 0 insertions, 46 deletions
diff --git a/math/vtk43/files/patch-IO-vtkBMPReader.cxx b/math/vtk43/files/patch-IO-vtkBMPReader.cxx
deleted file mode 100644
index f82deeb825e5..000000000000
--- a/math/vtk43/files/patch-IO-vtkBMPReader.cxx
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -u -r1.44 -r1.45
---- IO/vtkBMPReader.cxx 2003/09/10 19:41:56 1.44
-+++ IO/vtkBMPReader.cxx 2003/10/19 14:38:03 1.45
-@@ -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(static_cast<long>(self->GetFile()->tellg()) + 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(static_cast<long>(self->GetFile()->tellg()) + streamSkip1, ios::beg);
- outPtr2 += outIncr[2];
- }
diff --git a/math/vtk43/files/patch-IO-vtkImageReader.cxx b/math/vtk43/files/patch-IO-vtkImageReader.cxx
deleted file mode 100644
index 3e302e72af59..000000000000
--- a/math/vtk43/files/patch-IO-vtkImageReader.cxx
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -u -r1.109 -r1.110
---- IO/vtkImageReader.cxx 2002/12/26 18:18:50 1.109
-+++ IO/vtkImageReader.cxx 2003/10/19 14:38:03 1.110
-@@ -166,7 +166,7 @@
- streamStart += this->GetHeaderSize(idx);
-
- // error checking
-- this->File->seekg((long)streamStart, ios::beg);
-+ this->File->seekg(static_cast<long>(streamStart), ios::beg);
- if (this->File->fail())
- {
- vtkErrorMacro(<< "File operation failed: " << streamStart << ", ext: "
-@@ -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(static_cast<long>(self->GetFile()->tellg()) + 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(static_cast<long>(self->GetFile()->tellg()) + streamSkip1 + correction,
- ios::beg);
- outPtr2 += outIncr[2];
- }