1 |
commit: 2b8f606c3df1f0ece08d0a060c3bef8b6b7c3020 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 14:12:34 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 14:13:14 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8f606c |
7 |
|
8 |
kde-apps/konsole: Fix build w/ ECM 5.31 |
9 |
|
10 |
Add upstream patch to fix build w/ upcoming extra-cmake-modules. |
11 |
|
12 |
Thanks-to: karolherbst |
13 |
|
14 |
Package-Manager: portage-2.3.3 |
15 |
|
16 |
.../konsole/files/konsole-16.12.1-ecm531.patch | 22 ++++++++++++++++++++++ |
17 |
kde-apps/konsole/konsole-16.12.1.ebuild | 2 ++ |
18 |
2 files changed, 24 insertions(+) |
19 |
|
20 |
diff --git a/kde-apps/konsole/files/konsole-16.12.1-ecm531.patch b/kde-apps/konsole/files/konsole-16.12.1-ecm531.patch |
21 |
new file mode 100644 |
22 |
index 00000000..fd22781 |
23 |
--- /dev/null |
24 |
+++ b/kde-apps/konsole/files/konsole-16.12.1-ecm531.patch |
25 |
@@ -0,0 +1,22 @@ |
26 |
+commit 3a055ea19d5f458ccf06a33c697fbcda7a7f14df |
27 |
+Author: Aleix Pol <aleixpol@×××.org> |
28 |
+Date: Wed Jan 18 12:15:00 2017 +0100 |
29 |
+ |
30 |
+ Fix build |
31 |
+ |
32 |
+ frameworks/konsole/src/Session.cpp:839:5: warning: 'not' is not defined, |
33 |
+ evaluates to 0 [-Wundef] |
34 |
+ |
35 |
+diff --git a/src/Session.cpp b/src/Session.cpp |
36 |
+index d63c8a0..482ee0b 100644 |
37 |
+--- a/src/Session.cpp |
38 |
++++ b/src/Session.cpp |
39 |
+@@ -836,7 +836,7 @@ void Session::sendTextToTerminal(const QString& text, const QChar& eol) const |
40 |
+ // Only D-Bus calls this function (via SendText or runCommand) |
41 |
+ void Session::sendText(const QString& text) const |
42 |
+ { |
43 |
+-#if not defined(REMOVE_SENDTEXT_RUNCOMMAND_DBUS_METHODS) |
44 |
++#if !defined(REMOVE_SENDTEXT_RUNCOMMAND_DBUS_METHODS) |
45 |
+ if (show_disallow_certain_dbus_methods_message) { |
46 |
+ |
47 |
+ KNotification::event(KNotification::Warning, "Konsole D-Bus Warning", |
48 |
|
49 |
diff --git a/kde-apps/konsole/konsole-16.12.1.ebuild b/kde-apps/konsole/konsole-16.12.1.ebuild |
50 |
index 1070cde..ea4c0fe 100644 |
51 |
--- a/kde-apps/konsole/konsole-16.12.1.ebuild |
52 |
+++ b/kde-apps/konsole/konsole-16.12.1.ebuild |
53 |
@@ -49,6 +49,8 @@ DEPEND=" |
54 |
" |
55 |
RDEPEND="${DEPEND}" |
56 |
|
57 |
+PATCHES=( "${FILESDIR}/${P}-ecm531.patch" ) |
58 |
+ |
59 |
src_configure() { |
60 |
local mycmakeargs=( |
61 |
$(cmake-utils_use_find_package X X11) |