Files
termux-packages/x11-packages/fcitx5-configtool/fix-hardcoded-path.patch
termux-pacman-bot c015dad7bb add fcitx5-configtool
2023-07-05 10:35:06 +00: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 {