diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-10-11 23:13:14 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-10-11 23:13:33 +1100 |
commit | adf34e8306457defbc95512c3c42836a5a7b7f65 (patch) | |
tree | 201add9b343e2cede8bf6ea322f3e675e0c9989f /x11-misc | |
parent | dev-libs/openssl: Fixed doc installation path (diff) | |
download | gentoo-adf34e8306457defbc95512c3c42836a5a7b7f65.tar.gz gentoo-adf34e8306457defbc95512c3c42836a5a7b7f65.tar.bz2 gentoo-adf34e8306457defbc95512c3c42836a5a7b7f65.zip |
x11-misc/albert: fix build with Qt 5.11
Closes: https://bugs.gentoo.org/666998
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/albert/albert-0.14.22.ebuild | 4 | ||||
-rw-r--r-- | x11-misc/albert/files/albert-0.14.22-qt-5.11.patch | 26 |
2 files changed, 29 insertions, 1 deletions
diff --git a/x11-misc/albert/albert-0.14.22.ebuild b/x11-misc/albert/albert-0.14.22.ebuild index 3eb4aa9e5eb3..7c672bb96f35 100644 --- a/x11-misc/albert/albert-0.14.22.ebuild +++ b/x11-misc/albert/albert-0.14.22.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -34,6 +34,8 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) + src_prepare() { mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins/ || die 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 new file mode 100644 index 000000000000..1fa8a2fa7126 --- /dev/null +++ b/x11-misc/albert/files/albert-0.14.22-qt-5.11.patch @@ -0,0 +1,26 @@ +Bug: https://bugs.gentoo.org/666998 + +From 97fdca06dc7f82c92e5bb71e05f4fd7e74bbc616 Mon Sep 17 00:00:00 2001 +From: Michael Palimaka <kensington@gentoo.org> +Date: Thu, 11 Oct 2018 23:09:51 +1100 +Subject: [PATCH] Add missing include. + +--- + lib/albertcore/src/core/telemetry.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/albertcore/src/core/telemetry.cpp b/lib/albertcore/src/core/telemetry.cpp +index 1fd6b06..09b7713 100644 +--- a/lib/albertcore/src/core/telemetry.cpp ++++ b/lib/albertcore/src/core/telemetry.cpp +@@ -2,6 +2,7 @@ + + #include <QApplication> + #include <QDateTime> ++#include <QDebug> + #include <QJsonDocument> + #include <QMessageBox> + #include <QNetworkAccessManager> +-- +2.18.1 + |