aboutsummaryrefslogtreecommitdiff
path: root/libraries/VTK/patch-gdal2.diff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2021-05-19 11:44:31 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:39:56 +0700
commit50c303e503d522200b493d9684b53b0c156fae42 (patch)
tree5c0fdbe0052493a657fce6807201b8be38251917 /libraries/VTK/patch-gdal2.diff
parent090f515758b5d6a62824ef3b304ca8b9576d32bc (diff)
libraries/VTK: Updated for version 9.0.1
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/VTK/patch-gdal2.diff')
-rw-r--r--libraries/VTK/patch-gdal2.diff31
1 files changed, 0 insertions, 31 deletions
diff --git a/libraries/VTK/patch-gdal2.diff b/libraries/VTK/patch-gdal2.diff
deleted file mode 100644
index 36c33ee14c..0000000000
--- a/libraries/VTK/patch-gdal2.diff
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/IO/GDAL/vtkGDALVectorReader.cxx b/IO/GDAL/vtkGDALVectorReader.cxx
-index 86854a0..a0e234a 100644
---- a/IO/GDAL/vtkGDALVectorReader.cxx
-+++ b/IO/GDAL/vtkGDALVectorReader.cxx
-@@ -44,7 +44,7 @@ class vtkGDALVectorReader::Internal
- public:
- Internal( const char* srcName, int srcMode, int appendFeatures, int addFeatIds )
- {
-- this->Source = OGRSFDriverRegistrar::Open( srcName, srcMode, &this->Driver );
-+ this->Source = (GDALDataset*) OGROpen( srcName, srcMode, NULL );
- if ( ! this->Source )
- {
- this->LastError = CPLGetLastErrorMsg();
-@@ -61,7 +61,7 @@ public:
- {
- if ( this->Source )
- {
-- OGRDataSource::DestroyDataSource( this->Source );
-+ GDALClose( (GDALDatasetH) this->Source );
- }
- }
-
-@@ -304,7 +304,7 @@ public:
- return nCells;
- }
-
-- OGRDataSource* Source;
-+ GDALDataset* Source;
- OGRSFDriver* Driver;
- const char* LastError;
- int LayerIdx;