Files
meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd-3.16/0001-include-sys-ttydefaults.h.patch
Max Krummenacher 43ad9918d8 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>
2017-06-12 06:56:23 +02:00

36 lines
948 B
Diff

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 ead84d0..f205cb1 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -20,6 +20,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