diff options
| -rw-r--r-- | meta/recipes-core/kbd/kbd/0003-Only-inluclude-kernel-headers-with-glibc.patch | 29 | ||||
| -rw-r--r-- | meta/recipes-core/kbd/kbd_2.0.3.bb (renamed from meta/recipes-core/kbd/kbd_2.0.2.bb) | 5 |
2 files changed, 2 insertions, 32 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 @@ | |||
| 1 | From 3c5c7acc7ef874b919b26583d3892e21b907833f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Natanael Copa <ncopa@alpinelinux.org> | ||
| 3 | Date: Wed, 20 Aug 2014 09:00:03 +0200 | ||
| 4 | Subject: [PATCH 3/4] Only inluclude kernel headers with glibc | ||
| 5 | |||
| 6 | This fixes compile errors with musl libc | ||
| 7 | |||
| 8 | Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | ||
| 9 | Upstream-Status: Pending | ||
| 10 | --- | ||
| 11 | src/resizecons.c | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/src/resizecons.c b/src/resizecons.c | ||
| 15 | index 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 | -- | ||
| 28 | 2.1.0 | ||
| 29 | |||
diff --git a/meta/recipes-core/kbd/kbd_2.0.2.bb b/meta/recipes-core/kbd/kbd_2.0.3.bb index 49bb6c9a3f..746b68adee 100644 --- a/meta/recipes-core/kbd/kbd_2.0.2.bb +++ b/meta/recipes-core/kbd/kbd_2.0.3.bb | |||
| @@ -12,11 +12,10 @@ RCONFLICTS_${PN} = "console-tools" | |||
| 12 | 12 | ||
| 13 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ | 13 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ |
| 14 | file://uclibc-stdarg.patch \ | 14 | file://uclibc-stdarg.patch \ |
| 15 | file://0003-Only-inluclude-kernel-headers-with-glibc.patch \ | ||
| 16 | " | 15 | " |
| 17 | 16 | ||
| 18 | SRC_URI[md5sum] = "87475eb78b1d6e6ab06686dd323ad4ba" | 17 | SRC_URI[md5sum] = "231b46e7142eb41ea3ae06d2ded3c208" |
| 19 | SRC_URI[sha256sum] = "9dfddabf96012e329c4bebb96a21aeef7c3872f624e96e8156ba542b82aeb912" | 18 | SRC_URI[sha256sum] = "7a899de1c0eb75f3aea737095a736f2375e1cbfbe693fc14a3fe0bfb4649fb5e" |
| 20 | 19 | ||
| 21 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | 20 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" |
| 22 | PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," | 21 | PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," |
