summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch')
-rw-r--r--sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch b/sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch
new file mode 100644
index 00000000000..0b77da12148
--- /dev/null
+++ b/sci-geosciences/liblas/files/liblas-1.8.1-fix-overload-call.patch
@@ -0,0 +1,15 @@
+--- a/src/gt_citation.cpp 2018-08-03 12:16:16.007831564 +0100
++++ b/src/gt_citation.cpp 2018-08-03 12:16:45.224830335 +0100
+@@ -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,