diff options
Diffstat (limited to 'vcpkg/ports/gz-common/gdal-3.11.diff')
| -rw-r--r-- | vcpkg/ports/gz-common/gdal-3.11.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vcpkg/ports/gz-common/gdal-3.11.diff b/vcpkg/ports/gz-common/gdal-3.11.diff new file mode 100644 index 0000000..227dd20 --- /dev/null +++ b/vcpkg/ports/gz-common/gdal-3.11.diff @@ -0,0 +1,21 @@ +diff --git a/geospatial/src/Dem.cc b/geospatial/src/Dem.cc +index 88d541d..74eb78c 100644 +--- a/geospatial/src/Dem.cc ++++ b/geospatial/src/Dem.cc +@@ -389,7 +389,6 @@ bool Dem::GeoReference(double _x, double _y, + { + gzerr << "Unable to transform terrain coordinate system for " + << "coordinates (" << _x << "," << _y << ")" << std::endl; +- OCTDestroyCoordinateTransformation(cT); + return false; + } + +@@ -401,7 +400,7 @@ bool Dem::GeoReference(double _x, double _y, + _latitude.SetDegree(yGeoDeg); + _longitude.SetDegree(xGeoDeg); + +- OCTDestroyCoordinateTransformation(cT); ++ delete cT; + } + else + { |