head 1.3; access; symbols pkgsrc-2018Q4:1.2.0.34 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.32 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.30 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.28 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.26 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.24 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.20 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.18 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.16 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.14 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.12 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.10 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.8 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.6 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.4 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @// @; 1.3 date 2019.03.25.11.34.05; author bouyer; state dead; branches; next 1.2; commitid sWRCoAcXGnNnSJgB; 1.2 date 2015.01.22.12.34.15; author bouyer; state Exp; branches; next 1.1; commitid imw7Sd8qPk0u917y; 1.1 date 2014.05.25.18.26.57; author bouyer; state Exp; branches; next ; commitid TAmeaAbInYxBUWBx; desc @@ 1.3 log @Update OpenCPN to 5.0.0. Changes since 4.8.8: As a successor to OpenCPN Version 4.8, OpenCPN Version 5.0 contains many new features and enhanced functions. Among them are: ..Redesigned user interface, incorporating modern user interface elements and concepts. ..Support for multiple chart views simultaneously, using different charts display options if desired. ..User defined templates for easy recall of multiple configurations. ..Support for the widely available MBTiles chart format. ..Extended options for route and Waypoint creation. ..Expanded display of vector chart (ENC) information, including embedded images. ..Measurably improved performance and reliability over all supported platforms. @ text @$NetBSD: patch-src_chart1.cpp,v 1.2 2015/01/22 12:34:15 bouyer Exp $ Adapt for tty devices on NetBSD Reported in FS#1403 --- src/chart1.cpp.orig 2014-05-26 21:26:36.000000000 +0200 +++ src/chart1.cpp 2014-05-26 21:30:22.000000000 +0200 @@@@ -8032,7 +8032,9 @@@@ #include #include +#ifdef __linux__ #include +#endif #endif @@@@ -8098,6 +8100,15 @@@@ int isTTYreal(const char *dev) { +#ifdef __NetBSD__ + if (strncmp("/dev/tty0", dev, 9) == 0) + return 1; + if (strncmp("/dev/ttyU", dev, 9) == 0) + return 1; + if (strcmp("/dev/gps", dev) == 0) + return 1; + return 0; +#else /* !NetBSD */ struct serial_struct serinfo; int ret = 0; @@@@ -8114,6 +8125,7 @@@@ } return ret; +#endif /* !NetBSD */ } @@@@ -8154,11 +8166,13 @@@@ // We try to add a few more, arbitrarily, for those systems that have fixed, traditional COM ports +#ifdef __linux__ if( isTTYreal("/dev/ttyS0") ) preturn->Add( _T("/dev/ttyS0") ); if( isTTYreal("/dev/ttyS1") ) preturn->Add( _T("/dev/ttyS1") ); +#endif /* linux */ #endif @ 1.2 log @Update opencpn to 4.0.0. Changes since 3.2.2: - Increased performance in all modes, particularly when using OpenGL graphics acceleration. - Additional network interface methods, including TCP/IP client/server and UDP broadcast. - Support for multiple data source instances, including Filtering and prioritization of messages Output of NMEA data streams for real-time integration into ship systems - Improved support for Mac OS X systems, including 64 bit native support. - Integrated Tablet/Touch screen support. - AIS Personal Locater Beacon (PLB) configuration and tracking. - Enhanced AIS target tracking modes. - GRIB PlugIn feature additions. Graphical GRIB email request generation. Moving particle wind overlay. Enhanced GRIB data type support. - Dashboard PlugIn feature additions. More selectable instruments. - Major update to embedded Users Manual. - Measurably improved performance and reliability over all supported platforms. @ text @d1 1 a1 1 $NetBSD: patch-src_chart1.cpp,v 1.1 2014/05/25 18:26:57 bouyer Exp $ @ 1.1 log @Import opencpn version 3.2.2. OpenCPN is a free software (GPLv2) project to create a concise chart plotter and navigation software, for use underway or as a planning tool. OpenCPN is developed by a team of active sailors using real world conditions for program testing and refinement. @ text @d1 1 a1 1 $NetBSD: $ d4 1 d6 3 a8 3 --- src/chart1.cpp.orig 2014-05-23 15:58:32.000000000 +0200 +++ src/chart1.cpp 2014-05-23 16:03:10.000000000 +0200 @@@@ -7305,7 +7305,9 @@@@ d18 1 a18 1 @@@@ -7371,6 +7373,15 @@@@ d34 1 a34 1 @@@@ -7387,6 +7398,7 @@@@ d42 1 a42 1 @@@@ -7427,11 +7439,13 @@@@ @