summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-09-20 13:17:58 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2016-09-26 08:29:14 +0200
commitb18ac6dbbd7be1719b07adeb4224385057039e00 (patch)
tree86c2ff389bd13e157d26c0ceee570b63b71f40f1 /meta-oe/recipes-navigation
parent7b05caa6a4f2e295d902e52fe74941372fcbbfce (diff)
downloadmeta-openembedded-b18ac6dbbd7be1719b07adeb4224385057039e00.tar.gz
gpsd: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch34
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb1
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch
new file mode 100644
index 000000000..b27c67144
--- /dev/null
+++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch
@@ -0,0 +1,34 @@
1From 543f79222520cc6ab65d20f9fa356dac5c848e3b 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---
15Upstream-Status: Pending
16
17 gpsmon.c | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/gpsmon.c b/gpsmon.c
21index bee05b8..daed818 100644
22--- a/gpsmon.c
23+++ b/gpsmon.c
24@@ -20,6 +20,7 @@
25 #include <sys/types.h>
26 #include <sys/stat.h>
27 #include <sys/select.h>
28+#include <sys/ttydefaults.h>
29 #include <fcntl.h>
30 #ifndef S_SPLINT_S
31 #include <unistd.h>
32--
331.8.3.1
34
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
index 6158e970a..4ff6d917d 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.14.bb
@@ -17,6 +17,7 @@ SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
17 file://0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch \ 17 file://0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch \
18 file://0001-Include-stdatomic.h-only-in-C-mode.patch \ 18 file://0001-Include-stdatomic.h-only-in-C-mode.patch \
19 file://0001-libgpsd-core-Fix-issue-with-ACTIVATE-hook-not-being-.patch \ 19 file://0001-libgpsd-core-Fix-issue-with-ACTIVATE-hook-not-being-.patch \
20 file://0001-include-sys-ttydefaults.h.patch \
20 file://gpsd-default \ 21 file://gpsd-default \
21 file://gpsd \ 22 file://gpsd \
22 file://60-gpsd.rules \ 23 file://60-gpsd.rules \