1 |
commit: 4894513b82f91be1407465aeb78744b20bd46778 |
2 |
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 27 21:41:45 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 12:48:13 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4894513b |
7 |
|
8 |
kde-apps/umbrello: Remove unused include, fix build |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
.../files/umbrello-15.12.0-fix-compile.patch | 24 ++++++++++++++++++++++ |
13 |
kde-apps/umbrello/umbrello-15.12.0.ebuild | 2 ++ |
14 |
2 files changed, 26 insertions(+) |
15 |
|
16 |
diff --git a/kde-apps/umbrello/files/umbrello-15.12.0-fix-compile.patch b/kde-apps/umbrello/files/umbrello-15.12.0-fix-compile.patch |
17 |
new file mode 100644 |
18 |
index 0000000..fd0e888 |
19 |
--- /dev/null |
20 |
+++ b/kde-apps/umbrello/files/umbrello-15.12.0-fix-compile.patch |
21 |
@@ -0,0 +1,24 @@ |
22 |
+commit 1948e771e0e54ef0dd8290ef31cb5b09ee59f1aa |
23 |
+Author: Andreas Sturmlechner <andreas.sturmlechner@×××××.com> |
24 |
+Date: Mon Dec 28 16:50:07 2015 +0100 |
25 |
+ |
26 |
+ Remove unused header from frameworks build |
27 |
+ |
28 |
+diff --git a/umbrello/main.cpp b/umbrello/main.cpp |
29 |
+index 80a9337..1a68163 100644 |
30 |
+--- a/umbrello/main.cpp |
31 |
++++ b/umbrello/main.cpp |
32 |
+@@ -26,11 +26,12 @@ |
33 |
+ #include <kconfig.h> |
34 |
+ #include <KLocalizedString> |
35 |
+ #include <ktip.h> |
36 |
+-#include <kwindowsystem.h> |
37 |
+ |
38 |
+ #if QT_VERSION >= 0x050000 |
39 |
+ #include <QApplication> |
40 |
+ #include <QCommandLineParser> |
41 |
++#else |
42 |
++#include <kwindowsystem.h> |
43 |
+ #endif |
44 |
+ |
45 |
+ #include <unistd.h> |
46 |
|
47 |
diff --git a/kde-apps/umbrello/umbrello-15.12.0.ebuild b/kde-apps/umbrello/umbrello-15.12.0.ebuild |
48 |
index 8a7285e..88e8905 100644 |
49 |
--- a/kde-apps/umbrello/umbrello-15.12.0.ebuild |
50 |
+++ b/kde-apps/umbrello/umbrello-15.12.0.ebuild |
51 |
@@ -41,6 +41,8 @@ RDEPEND=" |
52 |
" |
53 |
DEPEND="${RDEPEND}" |
54 |
|
55 |
+PATCHES=( "${FILESDIR}/${P}-fix-compile.patch" ) |
56 |
+ |
57 |
src_configure() { |
58 |
local mycmakeargs=( |
59 |
-DBUILD_KF5=ON |