Blame SOURCES/kbd-1.15.5-loadkeys-search-path.patch
|
|
a67d56 |
diff -up kbd-1.15.5/src/loadkeys.c.orig kbd-1.15.5/src/loadkeys.c
|
|
|
a67d56 |
--- kbd-1.15.5/src/loadkeys.c.orig 2013-11-19 10:03:28.544600690 +0100
|
|
|
a67d56 |
+++ kbd-1.15.5/src/loadkeys.c 2013-11-19 10:05:21.018542306 +0100
|
|
|
a67d56 |
@@ -168,7 +168,7 @@ static void attr_noreturn usage(void)
|
|
|
a67d56 |
}
|
|
|
a67d56 |
|
|
|
a67d56 |
char **dirpath;
|
|
|
a67d56 |
-char *dirpath1[] = { "", DATADIR "/" KEYMAPDIR "/**", KERNDIR "/", 0 };
|
|
|
a67d56 |
+char *dirpath1[] = { "", DATADIR "/" KEYMAPDIR "/**", DATADIR "/" XKBKEYMAPDIR "/", DATADIR "/" LEGACYKEYMAPDIR "/**", KERNDIR "/", 0 };
|
|
|
a67d56 |
char *dirpath2[] = { 0, 0 };
|
|
|
a67d56 |
char *suffixes[] = { "", ".kmap", ".map", 0 };
|
|
|
a67d56 |
|
|
|
a67d56 |
diff -up kbd-1.15.5/src/paths.h.orig kbd-1.15.5/src/paths.h
|
|
|
a67d56 |
--- kbd-1.15.5/src/paths.h.orig 2013-11-19 10:02:07.117206075 +0100
|
|
|
a67d56 |
+++ kbd-1.15.5/src/paths.h 2013-11-19 10:03:07.900722065 +0100
|
|
|
a67d56 |
@@ -5,6 +5,8 @@
|
|
|
a67d56 |
* The following five subdirectories are defined:
|
|
|
a67d56 |
*/
|
|
|
a67d56 |
#define KEYMAPDIR "keymaps"
|
|
|
a67d56 |
+#define XKBKEYMAPDIR "keymaps/xkb"
|
|
|
a67d56 |
+#define LEGACYKEYMAPDIR "keymaps/legacy"
|
|
|
a67d56 |
#define UNIMAPDIR "unimaps"
|
|
|
a67d56 |
#define TRANSDIR "consoletrans"
|
|
|
a67d56 |
#define VIDEOMODEDIR "videomodes"
|