commit:     fd46a04a8735410b69b37d6a16f816af7756ff28
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Apr 16 18:20:20 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 18:27:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd46a04a

app-i18n/fcitx-qt5: Fix building with Qt 5.11.

 app-i18n/fcitx-qt5/fcitx-qt5-1.2.2.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

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 a4d2b415636..9dff926fb7f 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
+}

Reply via email to