python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / inputmethods / fcitx-engines / fcitx-libpinyin / datapath.patch
blob84dd5fc8f462eb3027628e5ee79de1657bb788c1
1 --- a/src/utils.cpp
2 +++ b/src/utils.cpp
3 @@ -9,12 +9,7 @@ char* FcitxLibPinyinGetSysPath(LIBPINYIN_LANGUAGE_TYPE type)
4 #ifdef LIBPINYIN_TOOLS_FOUND
5 if (type == LPLT_Simplified) {
6 #endif
7 - /* portable detect here */
8 - if (getenv("FCITXDIR")) {
9 - syspath = fcitx_utils_get_fcitx_path_with_filename("datadir", "libpinyin/data");
10 - } else {
11 - syspath = strdup(LIBPINYIN_PKGDATADIR "/data");
12 - }
13 + syspath = strdup(LIBPINYIN_PKGDATADIR "/data");
14 #ifdef LIBPINYIN_TOOLS_FOUND
16 else {