diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /app-i18n/fcitx/files/fcitx-4.2.9.8-enchant.patch | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'app-i18n/fcitx/files/fcitx-4.2.9.8-enchant.patch')
-rw-r--r-- | app-i18n/fcitx/files/fcitx-4.2.9.8-enchant.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-i18n/fcitx/files/fcitx-4.2.9.8-enchant.patch b/app-i18n/fcitx/files/fcitx-4.2.9.8-enchant.patch new file mode 100644 index 000000000000..f152f1dc6e5a --- /dev/null +++ b/app-i18n/fcitx/files/fcitx-4.2.9.8-enchant.patch @@ -0,0 +1,32 @@ +https://github.com/fcitx/fcitx/issues/475 + +--- /cmake/FindEnchant.cmake ++++ /cmake/FindEnchant.cmake +@@ -16,15 +16,15 @@ + endif(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES) + + find_package(PkgConfig) +-pkg_check_modules(PC_ENCHANT enchant) ++pkg_check_modules(PC_ENCHANT enchant-2 enchant) + + find_path(ENCHANT_INCLUDE_DIR + NAMES enchant.h + HINTS ${PC_ENCHANT_INCLUDE_DIRS} +- PATH_SUFFIXES "enchant") ++ PATH_SUFFIXES enchant-2 enchant) + + find_library(ENCHANT_LIBRARIES +- NAMES enchant ++ NAMES enchant-2 enchant + HINTS ${PC_ENCHANT_LIBRARY_DIRS}) + + if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES) +@@ -39,7 +39,7 @@ + #include <stdlib.h> + #include <stddef.h> + #include <string.h> +- #include <enchant/enchant.h> ++ #include <enchant.h> + + EnchantBroker *enchant_broker_init(); + char **enchant_dict_suggest(EnchantDict *dict, const char *str, |