diff --git a/srcpkgs/fcitx/patches/large-file-inode.patch b/srcpkgs/fcitx/patches/large-file-inode.patch new file mode 100644 index 00000000000..38c048a5b5a --- /dev/null +++ b/srcpkgs/fcitx/patches/large-file-inode.patch @@ -0,0 +1,63 @@ +diff --git a/src/im/pinyin/py.c b/src/im/pinyin/py.c +index e0028854..c45c8b4d 100644 +--- a/src/im/pinyin/py.c ++++ b/src/im/pinyin/py.c +@@ -19,6 +19,7 @@ + ***************************************************************************/ + #include "config.h" + ++#define _FILE_OFFSET_BITS 64 + #include + #include + #include +diff --git a/src/lib/fcitx-config/xdg.c b/src/lib/fcitx-config/xdg.c +index 1559e7bb..cdfbae91 100644 +--- a/src/lib/fcitx-config/xdg.c ++++ b/src/lib/fcitx-config/xdg.c +@@ -27,7 +27,7 @@ + */ + + #define FCITX_CONFIG_XDG_DEPRECATED +- ++#define _FILE_OFFSET_BITS 64 + #include "config.h" + + #include +diff --git a/src/lib/fcitx-utils/utils.h b/src/lib/fcitx-utils/utils.h +index 0d6bf309..a930ced1 100644 +--- a/src/lib/fcitx-utils/utils.h ++++ b/src/lib/fcitx-utils/utils.h +@@ -60,6 +60,7 @@ + #ifndef _FCITX_UTILS_H_ + #define _FCITX_UTILS_H_ + ++#define _FILE_OFFSET_BITS 64 + #include + #include + #include +diff --git a/src/module/spell/dict/comp_spell_dict.c b/src/module/spell/dict/comp_spell_dict.c +index 707226dd..4b8eb2a8 100644 +--- a/src/module/spell/dict/comp_spell_dict.c ++++ b/src/module/spell/dict/comp_spell_dict.c +@@ -17,7 +17,7 @@ + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ +- ++#define _FILE_OFFSET_BITS 64 + #include "fcitx-utils/log.h" + #include + #include +diff --git a/src/module/spell/spell-custom-dict.c b/src/module/spell/spell-custom-dict.c +index 93b96266..5a45984b 100644 +--- a/src/module/spell/spell-custom-dict.c ++++ b/src/module/spell/spell-custom-dict.c +@@ -17,7 +17,7 @@ + * Free Software Foundation, Inc., * + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ +- ++#define _FILE_OFFSET_BITS 64 + #include "fcitx/fcitx.h" + #include "config.h" + diff --git a/srcpkgs/fcitx/template b/srcpkgs/fcitx/template index 18db7e8fad3..ab9172b3e9c 100644 --- a/srcpkgs/fcitx/template +++ b/srcpkgs/fcitx/template @@ -1,7 +1,7 @@ # Template file for 'fcitx' pkgname=fcitx version=4.2.9.9 -revision=1 +revision=2 build_style=cmake build_helper=gir configure_args="-DSYSCONFDIR=/etc -DFORCE_OPENCC=OFF -DFORCE_PRESAGE=OFF