head 1.3; access; symbols pkgsrc-2019Q3:1.2.0.6 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.4 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.2 pkgsrc-2019Q1-base:1.2; locks; strict; comment @// @; 1.3 date 2019.11.04.17.33.18; author gdt; state dead; branches; next 1.2; commitid yOQqdqh9bj6aGyJB; 1.2 date 2019.03.22.15.31.11; author gdt; state Exp; branches; next 1.1; commitid nAJ4D5LtTAeZingB; 1.1 date 2019.03.22.14.00.49; author gdt; state Exp; branches; next ; commitid ORzHUHTCtqMUNmgB; desc @@ 1.3 log @geography/gdal-lib: Update to 2.4.3 (Also update py-gdal as it shares the distfile.) Note that the upgrade to 3.0.x is pending evaluation of impact on depending packages. Upstream changes: basically bugfixes. @ text @$NetBSD: patch-ogr_ogrlinestring.cpp,v 1.2 2019/03/22 15:31:11 gdt Exp $ Include required header for std::fabs. From upstream. --- ogr/ogrlinestring.cpp.orig 2019-03-15 12:35:19.000000000 +0000 +++ ogr/ogrlinestring.cpp @@@@ -31,6 +31,7 @@@@ #include "ogr_geos.h" #include "ogr_p.h" +#include #include #include #include @ 1.2 log @geography/gdal-lib: Replace std::fabs workaround with fix from upstream @ text @d1 1 a1 1 $NetBSD: patch-ogr_ogrlinestring.cpp,v 1.1 2019/03/22 14:00:49 gdt Exp $ @ 1.1 log @geography/gdal-lib: Update to 2.4.1 pkgsrc changes: add patch to fix or work around std::fabs upstream changes: bug fixes @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 fabs is not in std. Sent upstream via mail d7 8 a14 9 @@@@ -2551,7 +2551,7 @@@@ void OGRSimpleCurve::segmentize( double const double dfX = paoPoints[i+1].x - paoPoints[i].x; const double dfY = paoPoints[i+1].y - paoPoints[i].y; const double dfSquareDist = dfX * dfX + dfY * dfY; - if( std::fabs(dfSquareDist - dfSquareMaxLength) > 1e-5 * dfSquareMaxLength ) + if( fabs(dfSquareDist - dfSquareMaxLength) > 1e-5 * dfSquareMaxLength ) { const double dfIntermediatePoints = floor(sqrt(dfSquareDist / dfSquareMaxLength) - 1e-2); @