diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2018-04-17 14:38:02 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-05-01 18:15:44 -0700 |
commit | 8dc649bf05fe33469497423f7d163f86611858be (patch) | |
tree | cd159a9d20ff286da351104e0030cdb35a5798b4 /meta-oe/recipes-navigation/gpsd/gpsd-3.17/0001-include-sys-ttydefaults.h.patch | |
parent | 9cb4a085196856dc4526f071a0d1ea03b8baaf1b (diff) | |
download | meta-openembedded-contrib-8dc649bf05fe33469497423f7d163f86611858be.tar.gz |
gpsd: upgrade to 3.17
This is based on out of tree recipe in meta-medusa-dist, from Tristan
Ramseyer. Tested on Dragonboard 410c.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd/gpsd-3.17/0001-include-sys-ttydefaults.h.patch')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd-3.17/0001-include-sys-ttydefaults.h.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-3.17/0001-include-sys-ttydefaults.h.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.17/0001-include-sys-ttydefaults.h.patch new file mode 100644 index 0000000000..e91e4e9fbd --- /dev/null +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.17/0001-include-sys-ttydefaults.h.patch @@ -0,0 +1,35 @@ +From f221fa959c80b43c65426500a6836a1b5cf6fe0c 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> + +Foreward port to gpsd 3.16 +Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> +--- + gpsmon.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gpsmon.c b/gpsmon.c +index 89c43ee2..5cc0dabd 100644 +--- a/gpsmon.c ++++ b/gpsmon.c +@@ -24,6 +24,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <sys/select.h> ++#include <sys/ttydefaults.h> + #include <fcntl.h> + #include <unistd.h> + +-- +2.12.0 + |