media-gfx/kxstitch: Fix build with Qt 5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 31 Aug 2018 17:55:18 +0000 (19:55 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 31 Aug 2018 17:57:55 +0000 (19:57 +0200)
Closes: https://bugs.gentoo.org/664974
Package-Manager: Portage-2.3.48, Repoman-2.3.10

media-gfx/kxstitch/files/kxstitch-2.1.1-qt-5.11.patch [new file with mode: 0644]
media-gfx/kxstitch/kxstitch-2.1.1.ebuild

diff --git a/media-gfx/kxstitch/files/kxstitch-2.1.1-qt-5.11.patch b/media-gfx/kxstitch/files/kxstitch-2.1.1-qt-5.11.patch
new file mode 100644 (file)
index 0000000..70022fe
--- /dev/null
@@ -0,0 +1,37 @@
+From 9db3fcf9cd367681c0864238dc5009a604f3896c Mon Sep 17 00:00:00 2001
+From: Jonathan Riddell <jr@jriddell.org>
+Date: Wed, 27 Jun 2018 16:45:16 +0100
+Subject: fix build with Qt 5.11
+
+---
+ src/LibraryPatternPropertiesDlg.cpp | 2 ++
+ src/TextElementDlg.cpp              | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/src/LibraryPatternPropertiesDlg.cpp b/src/LibraryPatternPropertiesDlg.cpp
+index 8d2e24c..c10da3f 100644
+--- a/src/LibraryPatternPropertiesDlg.cpp
++++ b/src/LibraryPatternPropertiesDlg.cpp
+@@ -11,6 +11,8 @@
+ #include "LibraryPatternPropertiesDlg.h"
++#include <QIcon>
++
+ #include <KConfigGroup>
+ #include <KHelpClient>
+ #include <KLocalizedString>
+diff --git a/src/TextElementDlg.cpp b/src/TextElementDlg.cpp
+index 4d88b1e..fb545d1 100644
+--- a/src/TextElementDlg.cpp
++++ b/src/TextElementDlg.cpp
+@@ -16,6 +16,7 @@
+ #include "TextElementDlg.h"
+ #include <QColorDialog>
++#include <QButtonGroup>
+ #include <KHelpClient>
+ #include <KLocalizedString>
+-- 
+cgit v0.11.2
index 3e24a1c98c3e5cb1abbf60d2445be18966d020cd..e9ec0691e3f97c93de496e755f75860e9b3708e4 100644 (file)
@@ -39,3 +39,5 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
        !media-gfx/kxstitch:4
 "
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )