summaryrefslogtreecommitdiff
path: root/geography/opencpn-plugin-weather_routing
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2017-04-18 16:54:35 +0000
committerbouyer <bouyer@pkgsrc.org>2017-04-18 16:54:35 +0000
commit19423cb4dad32bc8a53cd059f527f57224a9baa1 (patch)
treea0cce5edb1959d5fc9d9005d969476df820bb7e3 /geography/opencpn-plugin-weather_routing
parentb407a473ff931beb93053367b87bc89f1d954c8d (diff)
downloadpkgsrc-19423cb4dad32bc8a53cd059f527f57224a9baa1.tar.gz
Add patch missed from the 20170414 update. This caused the build to fail
so no change to PKGREVISION.
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,