Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 421576 Details for
Bug 554316
sci-libs/vtk-6.1.0-r1 (with gdal-2.0.0) - vtkGDALVectorReader.cxx - ‘Open’ is not a member of ‘OGRSFDriverRegistrar’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vtk-6.1.0-gdal2.patch
vtk-6.1.0-gdal2.patch (text/plain), 1.11 KB, created by
Sam Jorna (wraeth)
on 2016-01-02 05:08:13 UTC
(
hide
)
Description:
vtk-6.1.0-gdal2.patch
Filename:
MIME Type:
Creator:
Sam Jorna (wraeth)
Created:
2016-01-02 05:08:13 UTC
Size:
1.11 KB
patch
obsolete
>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 ># Patch to build against newer GDAL per upstream commit ># https://projects.archlinux.org/svntogit/community.git/tree/trunk/gdal2.patch?h=packages/vtk&id=43307598a98872fd4ce7739e47f5bb4cfcb5372d >@@ -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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 554316
:
406396
| 421576 |
421578