package/olsr: backport upstream patch to fix compat with gpsd 3.21
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Jul 2021 21:50:00 +0000 (23:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 31 Jul 2021 21:50:00 +0000 (23:50 +0200)
commitddd0330fe1360de5843f72306d2c766e3b4e6124
treecec67409a3d962b004d39a39f5a3ea9888276f4c
parent28c118814dbc394a4600f025b8e0f0f38b0d9eae
package/olsr: backport upstream patch to fix compat with gpsd 3.21

Since the update of gpsd to 3.21, olsr was failing to build with:

src/gpsdclient.c: In function 'nmeaInfoFromGpsd':
src/gpsdclient.c:373:14: error: 'struct gps_data_t' has no member named 'status'
  373 |   if (gpsdata->status == STATUS_NO_FIX) {
      |              ^~

This is due to an API change in gpsd. This commit fixes that by
backporting an upstream commit from olsr.

Fixes:

  http://autobuild.buildroot.net/results/d8c5564b24ff5b646cdd786d07b3a45ce5fa01ea/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/olsr/0004-pud-adapt-gpsdclient.c-to-new-gpsd-3.21.patch [new file with mode: 0644]