From: Lars Wendler Date: Wed, 16 May 2018 09:08:33 +0000 (+0200) Subject: app-admin/keepassxc: Fixed compilation with qt-5.11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eaae19a90dacd1d96a8c6c28de9b1968ee77cb88;p=gentoo.git app-admin/keepassxc: Fixed compilation with qt-5.11 Thanks to Markus Rathgeb for reporting the bug and providing the fix. Closes: https://bugs.gentoo.org/655844 Package-Manager: Portage-2.3.36, Repoman-2.3.9 --- diff --git a/app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch b/app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch new file mode 100644 index 000000000000..c382db5873fc --- /dev/null +++ b/app-admin/keepassxc/files/keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch @@ -0,0 +1,10 @@ +--- a/src/gui/entry/EditEntryWidget.cpp ++++ b/src/gui/entry/EditEntryWidget.cpp +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include "autotype/AutoType.h" + #include "core/Config.h" diff --git a/app-admin/keepassxc/keepassxc-2.3.3.ebuild b/app-admin/keepassxc/keepassxc-2.3.3.ebuild index 69a100508278..3641f74e736c 100644 --- a/app-admin/keepassxc/keepassxc-2.3.3.ebuild +++ b/app-admin/keepassxc/keepassxc-2.3.3.ebuild @@ -47,6 +47,10 @@ DEPEND=" dev-qt/qtconcurrent:5 " +PATCHES=( + "${FILESDIR}/${P}-qt-5.11-edit-entry-widget-includes.patch" #655844 +) + src_prepare() { use test || \ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die