25 lines
853 B
Diff
25 lines
853 B
Diff
|
diff -up kbd-2.3.0/src/loadkeys.c.orig kbd-2.3.0/src/loadkeys.c
|
||
|
--- kbd-2.3.0/src/loadkeys.c.orig 2020-06-02 12:16:45.000000000 +0200
|
||
|
+++ kbd-2.3.0/src/loadkeys.c 2020-07-16 09:02:50.398864688 +0200
|
||
|
@@ -28,6 +28,8 @@
|
||
|
static const char *const dirpath1[] = {
|
||
|
"",
|
||
|
DATADIR "/" KEYMAPDIR "/**",
|
||
|
+ DATADIR "/" XKBKEYMAPDIR "/",
|
||
|
+ DATADIR "/" LEGACYKEYMAPDIR "/**",
|
||
|
KERNDIR "/",
|
||
|
NULL
|
||
|
};
|
||
|
diff -up kbd-2.3.0/src/paths.h.orig kbd-2.3.0/src/paths.h
|
||
|
--- kbd-2.3.0/src/paths.h.orig 2020-07-16 09:02:59.243010909 +0200
|
||
|
+++ kbd-2.3.0/src/paths.h 2020-07-16 09:03:23.446410942 +0200
|
||
|
@@ -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"
|