summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-04-16 20:20:20 +0200
committerMike Gilbert <floppym@gentoo.org>2018-04-16 14:27:35 -0400
commitfd46a04a8735410b69b37d6a16f816af7756ff28 (patch)
tree371164438e0ef478c9f2518d234729d953c6509c /app-i18n
parentwww-plugins/gnash: Update dependencies. (diff)
downloadgentoo-fd46a04a8735410b69b37d6a16f816af7756ff28.tar.gz
gentoo-fd46a04a8735410b69b37d6a16f816af7756ff28.tar.bz2
gentoo-fd46a04a8735410b69b37d6a16f816af7756ff28.zip
app-i18n/fcitx-qt5: Fix building with Qt 5.11.
Diffstat (limited to 'app-i18n')
-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
+}