2020-02-10 10:24:21 +00:00
|
|
|
diff -up kbd-2.1.0/src/loadkeys.c.orig kbd-2.1.0/src/loadkeys.c
|
|
|
|
--- kbd-2.1.0/src/loadkeys.c.orig 2019-07-15 10:57:18.000000000 +0200
|
|
|
|
+++ kbd-2.1.0/src/loadkeys.c 2019-07-17 14:34:51.224525616 +0200
|
|
|
|
@@ -24,7 +24,7 @@
|
|
|
|
#include "paths.h"
|
2013-11-27 12:17:26 +00:00
|
|
|
#include "keymap.h"
|
|
|
|
|
|
|
|
-static const char *const dirpath1[] = { "", DATADIR "/" KEYMAPDIR "/**", KERNDIR "/", 0 };
|
|
|
|
+static const char *const dirpath1[] = { "", DATADIR "/" KEYMAPDIR "/**", DATADIR "/" XKBKEYMAPDIR "/", DATADIR "/" LEGACYKEYMAPDIR "/**", KERNDIR "/", 0 };
|
|
|
|
static const char *const suffixes[] = { "", ".kmap", ".map", 0 };
|
|
|
|
|
2017-01-11 13:03:59 +00:00
|
|
|
static void __attribute__((noreturn))
|
2020-02-10 10:24:21 +00:00
|
|
|
diff -up kbd-2.1.0/src/paths.h.orig kbd-2.1.0/src/paths.h
|
|
|
|
--- kbd-2.1.0/src/paths.h.orig 2019-05-07 11:21:10.000000000 +0200
|
|
|
|
+++ kbd-2.1.0/src/paths.h 2019-07-17 14:35:13.870574558 +0200
|
2013-11-27 12:17:26 +00:00
|
|
|
@@ -5,6 +5,8 @@
|
|
|
|
* The following five subdirectories are defined:
|
|
|
|
*/
|
|
|
|
#define KEYMAPDIR "keymaps"
|
|
|
|
+#define XKBKEYMAPDIR "keymaps/xkb"
|
|
|
|
+#define LEGACYKEYMAPDIR "keymaps/legacy"
|
|
|
|
#define UNIMAPDIR "unimaps"
|
|
|
|
#define TRANSDIR "consoletrans"
|
|
|
|
#define VIDEOMODEDIR "videomodes"
|