ports/devel/liblas/files/patch-fix-overload-call
Dima Panov 969f058c9c devel/liblas: unbreak build after recent boost upgrade (+)
While here, backport critical security and compatibility fixes from upstream

PR:		246106
Security:	CVE-2018-20540
2022-05-24 13:57:55 +03:00

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,