summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch')
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch
new file mode 100644
index 000000000..f496b5e7d
--- /dev/null
+++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch
@@ -0,0 +1,35 @@
1From f221fa959c80b43c65426500a6836a1b5cf6fe0c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 17 Aug 2016 02:16:12 +0000
4Subject: [PATCH] include sys/ttydefaults.h
5
6This is needed for CTRL definition, as exposed by musl on glibc
7this include file gets pulled indirectly.
8
9/usr/src/debug/gpsd/3.14-r0/gpsd-3.14/gpsmon.c:605: undefined reference to `CTRL'
10clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
11scons: *** [gpsmon] Error 1
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15Foreward port to gpsd 3.16
16Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
17---
18 gpsmon.c | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/gpsmon.c b/gpsmon.c
22index ead84d0..f205cb1 100644
23--- a/gpsmon.c
24+++ b/gpsmon.c
25@@ -20,6 +20,7 @@
26 #include <sys/types.h>
27 #include <sys/stat.h>
28 #include <sys/select.h>
29+#include <sys/ttydefaults.h>
30 #include <fcntl.h>
31 #include <unistd.h>
32
33--
342.12.0
35