diff options
author | bouyer <bouyer@pkgsrc.org> | 2016-07-18 14:23:46 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2016-07-18 14:23:46 +0000 |
commit | 6e6d7e689009be66019ab95f93952af52fe15db0 (patch) | |
tree | c422d320021efcd484ffa86452f36f0e5db134ba /geography/opencpn-plugin-weather_routing | |
parent | ef3884567afaf6facb9ad309c3f89ea3b8be7f06 (diff) | |
download | pkgsrc-6e6d7e689009be66019ab95f93952af52fe15db0.tar.gz |
Update to 20160716. Changes since previous:
bug fixes, improved error messages, updates for newer draw plugin.
Diffstat (limited to 'geography/opencpn-plugin-weather_routing')
3 files changed, 17 insertions, 17 deletions
diff --git a/geography/opencpn-plugin-weather_routing/Makefile b/geography/opencpn-plugin-weather_routing/Makefile index 6c99add1e00..42383c158cf 100644 --- a/geography/opencpn-plugin-weather_routing/Makefile +++ b/geography/opencpn-plugin-weather_routing/Makefile @@ -1,13 +1,13 @@ -# $NetBSD: Makefile,v 1.5 2016/06/16 16:03:55 bouyer Exp $ +# $NetBSD: Makefile,v 1.6 2016/07/18 14:23:46 bouyer Exp $ # -VERSION= 20160611 +VERSION= 20160716 DISTNAME= weather_routing_pi-${VERSION} PKGNAME= opencpn-plugin-weather_routing-${VERSION} CATEGORIES= geography MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/} GITHUB_PROJECT= weather_routing_pi -GITHUB_TAG= 264605a7a9e3b33e10bbd2375a7d3fd55518b3dc +GITHUB_TAG= 7a016521e0a1e1ca4e97016dad8d0d16f09da912 MAINTAINER= bouyer@NetBSD.org HOMEPAGE= http://opencpn.org/ocpn/weather_routing_plugin diff --git a/geography/opencpn-plugin-weather_routing/distinfo b/geography/opencpn-plugin-weather_routing/distinfo index 12636b59169..c9021855d8b 100644 --- a/geography/opencpn-plugin-weather_routing/distinfo +++ b/geography/opencpn-plugin-weather_routing/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.5 2016/06/16 16:03:55 bouyer Exp $ +$NetBSD: distinfo,v 1.6 2016/07/18 14:23:46 bouyer Exp $ -SHA1 (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = aac7a6e11ac087d3654cdfe7907e28a8d6fe8d3b -RMD160 (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = 7040af0413957cac5a2e09f16f6afd05467f24ce -SHA512 (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = 920e878d4c25059e30259bcc3d68e32219a7dacb23e35a4b969a568e1ecdd10718bc7b978e4468efcf7faad8927a8bee0076ab8e00a29e51563e1c84083e5006 -Size (weather_routing_pi-20160611-264605a7a9e3b33e10bbd2375a7d3fd55518b3dc.tar.gz) = 847325 bytes +SHA1 (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = 131045d458326c9febd21605cf784f247bc1e848 +RMD160 (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = c8d0cf451091047ae155e0e7ce08ae47329d09a8 +SHA512 (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = 18ffb602f57f92b41fb152a34a8552e1c2a877eea70228c84602b79bc37809b2152e45afafad054f97b84d9d1c338f3ea92b39fc26eedc392babcd1ee3985b30 +Size (weather_routing_pi-20160716-7a016521e0a1e1ca4e97016dad8d0d16f09da912.tar.gz) = 846632 bytes SHA1 (patch-cmake_PluginConfigure.cmake) = e2873cbba3d776227d72b8538634f687dc04c439 -SHA1 (patch-src_RouteMap.cpp) = e705e8f11d58675d443c1992c7cf5ab26f2be856 +SHA1 (patch-src_RouteMap.cpp) = a733a901f04eeb1699805e590325c0485ce26d1b diff --git a/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp b/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp index 64ae66f3fcd..b2f6da994b0 100644 --- a/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp +++ b/geography/opencpn-plugin-weather_routing/patches/patch-src_RouteMap.cpp @@ -1,16 +1,16 @@ -$NetBSD: patch-src_RouteMap.cpp,v 1.1 2016/06/16 16:03:55 bouyer Exp $ +$NetBSD: patch-src_RouteMap.cpp,v 1.2 2016/07/18 14:23:46 bouyer Exp $ ---- src/RouteMap.cpp.orig 2016-06-13 18:14:41.000000000 +0200 -+++ src/RouteMap.cpp 2016-06-13 18:17:23.000000000 +0200 -@@ -550,7 +550,7 @@ +--- src/RouteMap.cpp.orig 2016-07-16 16:02:32.000000000 +0200 ++++ src/RouteMap.cpp 2016-07-18 15:51:20.000000000 +0200 +@@ -546,7 +546,7 @@ VB = polar.Speed(H, VW); /* failed to determine speed.. */ - if(isnan(B) || isnan(VB)) { + if(std::isnan(B) || std::isnan(VB)) { + // when does this hit?? + printf("polar failed bad! %f %f %f %f\n", W, VW, B, VB); configuration.polar_failed = true; - return false; //B = VB = 0; - } @@ -662,7 +662,7 @@ B = W + H; /* rotated relative to true wind */ @@ -20,7 +20,7 @@ $NetBSD: patch-src_RouteMap.cpp,v 1.1 2016/06/16 16:03:55 bouyer Exp $ double bearing3 = heading_resolve(B); if((bearing1 > bearing2 && bearing3 > bearing2 && bearing3 < bearing1) || (bearing1 < bearing2 && (bearing3 > bearing2 || bearing3 < bearing1))) { -@@ -2092,7 +2092,7 @@ +@@ -2089,7 +2089,7 @@ /* did we tack thru the wind? apply penalty */ bool tacked = false; @@ -29,7 +29,7 @@ $NetBSD: patch-src_RouteMap.cpp,v 1.1 2016/06/16 16:03:55 bouyer Exp $ tacked = true; dt += configuration.TackingTime; #if 0 -@@ -2101,7 +2101,7 @@ +@@ -2098,7 +2098,7 @@ #endif } |