Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/albert/files/, x11-misc/albert/
Date: Thu, 11 Oct 2018 12:13:53
Message-Id: 1539260013.adf34e8306457defbc95512c3c42836a5a7b7f65.kensington@gentoo
1 commit: adf34e8306457defbc95512c3c42836a5a7b7f65
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 11 12:13:14 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 11 12:13:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf34e83
7
8 x11-misc/albert: fix build with Qt 5.11
9
10 Closes: https://bugs.gentoo.org/666998
11 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
12 Package-Manager: Portage-2.3.49, Repoman-2.3.11
13
14 x11-misc/albert/albert-0.14.22.ebuild | 4 +++-
15 x11-misc/albert/files/albert-0.14.22-qt-5.11.patch | 26 ++++++++++++++++++++++
16 2 files changed, 29 insertions(+), 1 deletion(-)
17
18 diff --git a/x11-misc/albert/albert-0.14.22.ebuild b/x11-misc/albert/albert-0.14.22.ebuild
19 index 3eb4aa9e5eb..7c672bb96f3 100644
20 --- a/x11-misc/albert/albert-0.14.22.ebuild
21 +++ b/x11-misc/albert/albert-0.14.22.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2018 Gentoo Foundation
24 +# Copyright 1999-2018 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -34,6 +34,8 @@ RDEPEND="
29 "
30 DEPEND="${RDEPEND}"
31
32 +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
33 +
34 src_prepare() {
35 mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die
36
37
38 diff --git a/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch b/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch
39 new file mode 100644
40 index 00000000000..1fa8a2fa712
41 --- /dev/null
42 +++ b/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch
43 @@ -0,0 +1,26 @@
44 +Bug: https://bugs.gentoo.org/666998
45 +
46 +From 97fdca06dc7f82c92e5bb71e05f4fd7e74bbc616 Mon Sep 17 00:00:00 2001
47 +From: Michael Palimaka <kensington@g.o>
48 +Date: Thu, 11 Oct 2018 23:09:51 +1100
49 +Subject: [PATCH] Add missing include.
50 +
51 +---
52 + lib/albertcore/src/core/telemetry.cpp | 1 +
53 + 1 file changed, 1 insertion(+)
54 +
55 +diff --git a/lib/albertcore/src/core/telemetry.cpp b/lib/albertcore/src/core/telemetry.cpp
56 +index 1fd6b06..09b7713 100644
57 +--- a/lib/albertcore/src/core/telemetry.cpp
58 ++++ b/lib/albertcore/src/core/telemetry.cpp
59 +@@ -2,6 +2,7 @@
60 +
61 + #include <QApplication>
62 + #include <QDateTime>
63 ++#include <QDebug>
64 + #include <QJsonDocument>
65 + #include <QMessageBox>
66 + #include <QNetworkAccessManager>
67 +--
68 +2.18.1
69 +