commit:     eaae19a90dacd1d96a8c6c28de9b1968ee77cb88
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed May 16 09:08:33 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed May 16 09:09:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaae19a9

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

 .../keepassxc-2.3.3-qt-5.11-edit-entry-widget-includes.patch   | 10 ++++++++++
 app-admin/keepassxc/keepassxc-2.3.3.ebuild                     |  4 ++++
 2 files changed, 14 insertions(+)

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 00000000000..c382db5873f
--- /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 <QMimeData>
+ #include <QEvent>
+ #include <QColorDialog>
++#include <QButtonGroup>
+ 
+ #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 69a10050827..3641f74e736 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

Reply via email to