summaryrefslogtreecommitdiff
path: root/geography/opencpn-plugin-weather_routing
diff options
context:
space:
mode:
Diffstat (limited to 'geography/opencpn-plugin-weather_routing')
-rw-r--r--geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMapOverlay.cpp12
1 files changed, 12 insertions, 0 deletions
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,