From 957c515e9347dda1a578ec63007a5ebe729762cb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 19 May 2017 12:42:05 +0200 Subject: main/kbd: provide bkeymaps for backwards compat so we dont break scripts that tries to install bkeymaps --- main/kbd/bkeymaps.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 main/kbd/bkeymaps.patch (limited to 'main/kbd/bkeymaps.patch') diff --git a/main/kbd/bkeymaps.patch b/main/kbd/bkeymaps.patch new file mode 100644 index 0000000000..cea626167f --- /dev/null +++ b/main/kbd/bkeymaps.patch @@ -0,0 +1,14 @@ +diff --git a/src/loadkeys.c b/src/loadkeys.c +index 8b8e7a1..b3f7fea 100644 +--- a/src/loadkeys.c ++++ b/src/loadkeys.c +@@ -174,7 +174,8 @@ main(int argc, char *argv[]) + } + + /* get console */ +- fd = getfd(console); ++ if (!(options & OPT_B)) ++ fd = getfd(console); + + if (!(options & OPT_M) && !(options & OPT_B)) { + /* check whether the keyboard is in Unicode mode */ -- cgit v1.2.3