summaryrefslogtreecommitdiff
path: root/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-12-21 09:15:47 -0600
committerJohn Klug <john.klug@multitech.com>2016-12-21 09:15:47 -0600
commit0d53f1437fcdbae1c1b112b9892be8994cef3834 (patch)
tree2cf46a12b25f6b7d2fd1e080cc9b8d47300e1407 /recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch
parent12465c3b11e4a7517a92480980f1ce2f8a877e71 (diff)
parent2ba73a35c4907336858320b31ce515a6aa10698f (diff)
downloadmeta-mlinux-0d53f1437fcdbae1c1b112b9892be8994cef3834.tar.gz
meta-mlinux-0d53f1437fcdbae1c1b112b9892be8994cef3834.tar.bz2
meta-mlinux-0d53f1437fcdbae1c1b112b9892be8994cef3834.zip
Change priority of gpsd and add multitech GPS device to default.
Diffstat (limited to 'recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch')
-rw-r--r--recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch b/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch
new file mode 100644
index 0000000..b27c671
--- /dev/null
+++ b/recipes-navigation/gpsd/gpsd-3.16.20161219/0001-include-sys-ttydefaults.h.patch
@@ -0,0 +1,34 @@
+From 543f79222520cc6ab65d20f9fa356dac5c848e3b Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 17 Aug 2016 02:16:12 +0000
+Subject: [PATCH] include sys/ttydefaults.h
+
+This is needed for CTRL definition, as exposed by musl on glibc
+this include file gets pulled indirectly.
+
+/usr/src/debug/gpsd/3.14-r0/gpsd-3.14/gpsmon.c:605: undefined reference to `CTRL'
+clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
+scons: *** [gpsmon] Error 1
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+Upstream-Status: Pending
+
+ gpsmon.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gpsmon.c b/gpsmon.c
+index bee05b8..daed818 100644
+--- a/gpsmon.c
++++ b/gpsmon.c
+@@ -20,6 +20,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/select.h>
++#include <sys/ttydefaults.h>
+ #include <fcntl.h>
+ #ifndef S_SPLINT_S
+ #include <unistd.h>
+--
+1.8.3.1
+