Commits

Fred Wright authored and Michael Dickens committed 13394d8f02c
gpsd: update to 3.18.1

This is essentially the same as the 3.18 port, but for the new version. The upstream code as patched by the port can also be seen at: https://github.com/fhgwright/gpsd/tree/macports-3.18.1 The -devel version is pointing at the upstream sources as of 21-Nov-2018. Since all needed patches are included upstream at that point, there are no patches for it in the port. TESTED: Used "port test" and "port install" as the primary test, with the default variants, all binary variants with the default python27, each single binary variant with the default python27, and all binary variants with each non-default python. Ran this on a MacPro/10.9, a MacPro/10.14, a MacBook Pro/10.9, a PowerBook G4/10.5, and VMs for all 10.5-10.13 versions, except that, due to test flakiness on the PowerBook, "port test" was skipped in most PowerBook cases. This was all done for both the normal and -devel ports, except that the -devel version had test issues on 10.5 x86, so those tests were also skipped.
No tags

net/gpsd/files/patch-noC99.diff

Added
1 +--- driver_ubx.c.orig 2018-10-18 13:59:30.000000000 -0700
2 ++++ driver_ubx.c 2018-11-18 16:35:32.000000000 -0800
3 +@@ -813,6 +813,7 @@ static gps_mask_t ubx_rxm_rawx(struct gp
4 + int8_t leapS;
5 + uint8_t numMeas;
6 + uint8_t recStat;
7 ++ int i;
8 +
9 + if (16 > data_len) {
10 + gpsd_log(&session->context->errout, LOG_WARN,
11 +@@ -830,7 +831,7 @@ static gps_mask_t ubx_rxm_rawx(struct gp
12 + "UBX_RXM_RAWX: rcvTow %f week %u leapS %d numMeas %u recStat %d\n",
13 + rcvTow, week, leapS, numMeas, recStat);
14 +
15 +- for (int i = 0; i < numMeas; i++) {
16 ++ for (i = 0; i < numMeas; i++) {
17 + int off = 32 * i;
18 + double prMes = getled64((const char *)buf, off + 16);
19 + double cpMes = getled64((const char *)buf, off + 24);

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut