commit: dc1a1d3f206ac6ce9c54acd7648f1c0311d4f110 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Sun Sep 24 06:12:59 2017 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Sun Sep 24 06:13:15 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1a1d3f
x11-misc/fraqtive: fix build failure by adding patch with missing Qt includes Closes: https://bugs.gentoo.org/563574 Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../files/fraqtive-0.4.8-qt-includes.patch | 24 ++++++++++++++++++++++ x11-misc/fraqtive/fraqtive-0.4.8.ebuild | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch b/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch new file mode 100644 index 00000000000..de31d9c37ec --- /dev/null +++ b/x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch @@ -0,0 +1,24 @@ +Add missing Qt includes. + +Bug: https://bugs.gentoo.org/563574 + +--- a/src/configurationdata.cpp ++++ b/src/configurationdata.cpp +@@ -25,6 +25,7 @@ + #include <shlobj.h> + #endif + ++#include <QDataStream> + #include <QDir> + #include <cstdlib> + +--- a/src/fractalgenerator.h ++++ b/src/fractalgenerator.h +@@ -21,6 +21,7 @@ + + #include <QEvent> + #include <QMutex> ++#include <QObject> + #include <QWaitCondition> + + #include "abstractjobprovider.h" diff --git a/x11-misc/fraqtive/fraqtive-0.4.8.ebuild b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild index 8d3effac98f..5c0a787ab56 100644 --- a/x11-misc/fraqtive/fraqtive-0.4.8.ebuild +++ b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -32,6 +32,8 @@ DEPEND=" " src_configure() { + epatch "${FILESDIR}/${P}-qt-includes.patch" + tc-export PKG_CONFIG sed -i -e "s|-lGLU|$( ${PKG_CONFIG} --libs glu )|g" src/src.pro || die local conf="release"
