gpsd: Remove obsolete musl patch

Upstream fixed this differently 4 years ago.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Bunk
2019-07-09 20:24:27 +03:00
committed by Khem Raj
parent 499f1b4e24
commit 517f7ba99c
2 changed files with 0 additions and 36 deletions
@@ -1,35 +0,0 @@
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
@@ -13,7 +13,6 @@ EXTRANATIVEPATH += "chrpath-native"
SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \
file://0002-include-sys-ttydefaults.h.patch \
file://0003-SConstruct-disable-html-and-man-docs-building-becaus.patch \
"
SRC_URI[md5sum] = "3b11f26b295010666b1767b308f90bc5"