summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild')
-rw-r--r--app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild b/app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild
index a4d2b4156365..9dff926fb7fe 100644
--- a/app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild
+++ b/app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild
@@ -38,3 +38,11 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=()
+
+src_prepare() {
+ # https://github.com/fcitx/fcitx-qt5/issues/34
+ # https://github.com/fcitx/fcitx-qt5/commit/af033e3d5305108eecc568adff7f8b2da5831ed6
+ sed -e "/^#include \"batchdialog.h\"$/i\\#include <QIcon>" -i quickphrase-editor/batchdialog.cpp || die
+
+ cmake-utils_src_prepare
+}