D16081: Fix build with gpsd 3.18

2018-10-15 Thread Antonio Rojas
This revision was automatically updated to reflect the committed changes.
Closed by commit R120:81a0fe6db9ac: Fix build with gpsd 3.18 (authored by 
arojas).

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D16081?vs=43233=43676

REVISION DETAIL
  https://phabricator.kde.org/D16081

AFFECTED FILES
  dataengines/geolocation/location_gps.cpp

To: arojas, #plasma, davidedmundson
Cc: rdieter, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D16081: Fix build with gpsd 3.18

2018-10-09 Thread Antonio Rojas
arojas created this revision.
arojas added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
arojas requested review of this revision.

REVISION SUMMARY
  The signature of gps_read has changed in 3.18 to add an optional buffer 
parameter.
  Passing NULL, 0 should keep the previous behavior, see 
https://git.savannah.gnu.org/cgit/gpsd.git/commit?id=6bba8b329fc7687b15863d30471d5af402467802

TEST PLAN
  Builds with gpsd 3.17 and 3.18. Can't test if it works since I don't have a 
gps device.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D16081

AFFECTED FILES
  dataengines/geolocation/location_gps.cpp

To: arojas, #plasma
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart