aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/901-kbdmode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/901-kbdmode.patch')
-rw-r--r--package/busybox/patches/901-kbdmode.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/busybox/patches/901-kbdmode.patch b/package/busybox/patches/901-kbdmode.patch
deleted file mode 100644
index c668d62c38..0000000000
--- a/package/busybox/patches/901-kbdmode.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/console-tools/kbd_mode.c
-+++ b/console-tools/kbd_mode.c
-@@ -2,7 +2,7 @@
- /*
- * Mini kbd_mode implementation for busybox
- *
-- * Copyright (C) 2007 Loïc Grenié <loic.grenie@gmail.com>
-+ * Copyright (C) 2007 Loic Grenie <loic.grenie@gmail.com>
- * written using Andries Brouwer <aeb@cwi.nl>'s kbd_mode from
- * console-utils v0.2.3, licensed under GNU GPLv2
- *
-@@ -46,7 +46,8 @@
- printf("The keyboard is in %s mode\n", mode);
- } else {
- opt = opt & UNICODE ? 3 : opt >> 1;
-- xioctl(fd, KDSKBMODE, opt);
-+ /* double cast prevents warnings about widening conversion */
-+ xioctl(fd, KDSKBMODE, (void*)(ptrdiff_t)opt);
- }
-
- if (ENABLE_FEATURE_CLEAN_UP)