summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch')
-rw-r--r--meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch b/meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch
deleted file mode 100644
index 8bfcb0c7af..0000000000
--- a/meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 3c5c7acc7ef874b919b26583d3892e21b907833f Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 20 Aug 2014 09:00:03 +0200
4Subject: [PATCH 3/4] Only inluclude kernel headers with glibc
5
6This fixes compile errors with musl libc
7
8Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
9Upstream-Status: Pending
10---
11 src/resizecons.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/src/resizecons.c b/src/resizecons.c
15index 5f84845..691dfcc 100644
16--- a/src/resizecons.c
17+++ b/src/resizecons.c
18@@ -80,7 +80,7 @@
19 #include <sys/ioctl.h>
20 #if (__GNU_LIBRARY__ >= 6)
21 #include <sys/perm.h>
22-#else
23+#elif defined(__GLIBC__)
24 #include <linux/types.h>
25 #include <linux/termios.h>
26 #endif
27--
282.1.0
29