mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
While here, backport critical security and compatibility fixes from upstream PR: 246106 Security: CVE-2018-20540
15 lines
565 B
Text
15 lines
565 B
Text
--- src/gt_citation.cpp
|
|
+++ src/gt_citation.cpp
|
|
@@ -387,10 +387,10 @@
|
|
osCitation += primemName;
|
|
bRewriteGeogCitation = TRUE;
|
|
|
|
- double primemValue = poSRS->GetPrimeMeridian(NULL);
|
|
+ double primemValue = poSRS->GetPrimeMeridian();
|
|
if(angUnitName && !EQUAL(angUnitName, "Degree"))
|
|
{
|
|
- double aUnit = poSRS->GetAngularUnits(NULL);
|
|
+ double aUnit = poSRS->GetAngularUnits();
|
|
primemValue *= aUnit;
|
|
}
|
|
GTIFKeySet( psGTIF, GeogPrimeMeridianLongGeoKey, TYPE_DOUBLE, 1,
|