summarylogtreecommitdiffstats
path: root/0002-Fix-gpsd-version-error.patch
diff options
context:
space:
mode:
authorAlexander Fasching2020-01-11 23:06:06 +0100
committerAlexander Fasching2020-01-11 23:06:06 +0100
commit65541fa982ad35b05a9a9e57cc05b4ce1b825d0e (patch)
tree659fcf073546f92dea626e053d9dd1adaf3ce0a8 /0002-Fix-gpsd-version-error.patch
parent8fc62a03be96d3a8d3a0c8e708d3138015b22067 (diff)
downloadaur-65541fa982ad35b05a9a9e57cc05b4ce1b825d0e.tar.gz
upgpkg: direwolf-git 1.5.beta4.r106.g1f2a5cf-1
Add patch to fix gpsd build error
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.
+ */