diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2017-05-28 13:10:40 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-06-12 06:56:23 +0200 |
commit | 43ad9918d81bed3c7e710049ca871c7885634095 (patch) | |
tree | d45472189462bb981f55fd0fde639c876e8c8728 /meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch | |
parent | 0be5688fa0fc4a2517f3ae7ae92126a206620435 (diff) | |
download | meta-openembedded-43ad9918d81bed3c7e710049ca871c7885634095.tar.gz |
gpsd: update to 3.16
3.16 can be linked with gold, so drop forcing to bfd.
Patches:
Do not apply and SConstruct dropped these constructs
0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch
0002-SConstruct-remove-rpath.patch
Fixed upstream (or plain backports)
0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch
0002-Add-a-test-for-C11-and-check-we-have-C11-before-usin.patch
0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch
0001-Include-stdatomic.h-only-in-C-mode.patch
0001-libgpsd-core-Fix-issue-with-ACTIVATE-hook-not-being-.patch
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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.patch | 35 |
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 @@ | |||
1 | From f221fa959c80b43c65426500a6836a1b5cf6fe0c 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 | Foreward port to gpsd 3.16 | ||
16 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
17 | --- | ||
18 | gpsmon.c | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | diff --git a/gpsmon.c b/gpsmon.c | ||
22 | index 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 | -- | ||
34 | 2.12.0 | ||
35 | |||