summarylogtreecommitdiffstats
path: root/0002-Fix-gpsd-version-error.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-Fix-gpsd-version-error.patch')
-rw-r--r--0002-Fix-gpsd-version-error.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0002-Fix-gpsd-version-error.patch b/0002-Fix-gpsd-version-error.patch
new file mode 100644
index 000000000000..49080f0befa2
--- /dev/null
+++ b/0002-Fix-gpsd-version-error.patch
@@ -0,0 +1,17 @@
+diff --git a/src/dwgpsd.c b/src/dwgpsd.c
+index 890dd50..a7a39a2 100644
+--- a/src/dwgpsd.c
++++ b/src/dwgpsd.c
+@@ -59,12 +59,6 @@
+ // dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with
+ // GPSD_API_MAJOR_VERSION 6 provided by libgps22 when the attached patch is applied.
+
+-// Also compatible with API 7 & 8 with conditional compilation later.
+-
+-#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 8
+-#error libgps API version might be incompatible.
+-#endif
+-
+ /*
+ * Information for interface to gpsd daemon.
+ */