From 7fd834008082b7fe16520fdf7274d937d53d8244 Mon Sep 17 00:00:00 2001 From: bouyer Date: Tue, 18 Apr 2017 16:54:35 +0000 Subject: Add patch missed from the 20170414 update. This caused the build to fail so no change to PKGREVISION. --- .../patches/patch-src_RouteMapOverlay.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMapOverlay.cpp (limited to 'geography') diff --git a/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMapOverlay.cpp b/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMapOverlay.cpp new file mode 100644 index 00000000000..cd92937daa3 --- /dev/null +++ b/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMapOverlay.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_RouteMapOverlay.cpp,v 1.1 2017/04/18 16:54:35 bouyer Exp $ +--- src/RouteMapOverlay.cpp.orig 2017-04-14 13:36:07.000000000 +0200 ++++ src/RouteMapOverlay.cpp 2017-04-14 13:36:23.000000000 +0200 +@@ -1186,7 +1186,7 @@ + } + Unlock(); + +- if(isinf(mindt)) ++ if(std::isinf(mindt)) + goto not_able_to_propagate; + + destination_position = new Position(configuration.EndLat, configuration.EndLon, -- cgit v1.2.3