0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/fcitx5-configtool/fix-hardcoded-path.patch
2023-07-05 19:02:03 +09:00

12 lines
447 B
Diff

--- fcitx5-configtool-5.0.17/layout/keyboardlayoutwidget.cpp.orig 2023-03-11 13:01:54
+++ fcitx5-configtool-5.0.17/layout/keyboardlayoutwidget.cpp 2023-04-22 02:28:28
@@ -37,7 +37,7 @@
constexpr unsigned int INVALID_KEYCODE = (unsigned int)(-1);
#ifndef XKB_RULES_XML_FILE
-#define XKB_RULES_XML_FILE "/usr/share/X11/xkb/rules/evdev.xml"
+#define XKB_RULES_XML_FILE "@TERMUX_PREFIX@/share/X11/xkb/rules/evdev.xml"
#endif
namespace fcitx {