diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-09-20 13:17:58 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-26 08:29:14 +0200 |
| commit | b18ac6dbbd7be1719b07adeb4224385057039e00 (patch) | |
| tree | 86c2ff389bd13e157d26c0ceee570b63b71f40f1 /meta-oe/recipes-navigation/gpsd/gpsd-3.14 | |
| parent | 7b05caa6a4f2e295d902e52fe74941372fcbbfce (diff) | |
| download | meta-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/gpsd/gpsd-3.14')
| -rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch | 34 |
1 files changed, 34 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 0000000000..b27c671444 --- /dev/null +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.14/0001-include-sys-ttydefaults.h.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 543f79222520cc6ab65d20f9fa356dac5c848e3b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 17 Aug 2016 02:16:12 +0000 | ||
| 4 | Subject: [PATCH] include sys/ttydefaults.h | ||
| 5 | |||
| 6 | This is needed for CTRL definition, as exposed by musl on glibc | ||
| 7 | this include file gets pulled indirectly. | ||
| 8 | |||
| 9 | /usr/src/debug/gpsd/3.14-r0/gpsd-3.14/gpsmon.c:605: undefined reference to `CTRL' | ||
| 10 | clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation) | ||
| 11 | scons: *** [gpsmon] Error 1 | ||
| 12 | |||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | Upstream-Status: Pending | ||
| 16 | |||
| 17 | gpsmon.c | 1 + | ||
| 18 | 1 file changed, 1 insertion(+) | ||
| 19 | |||
| 20 | diff --git a/gpsmon.c b/gpsmon.c | ||
| 21 | index 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 | -- | ||
| 33 | 1.8.3.1 | ||
| 34 | |||
