aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/gz-common/gdal-3.11.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/gz-common/gdal-3.11.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/gz-common/gdal-3.11.diff')
-rw-r--r--vcpkg/ports/gz-common/gdal-3.11.diff21
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
+ {