x11-misc/fraqtive: fix build failure by adding patch with missing Qt includes
authorMichael Palimaka <kensington@gentoo.org>
Sun, 24 Sep 2017 06:12:59 +0000 (16:12 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 24 Sep 2017 06:13:15 +0000 (16:13 +1000)
Closes: https://bugs.gentoo.org/563574
Package-Manager: Portage-2.3.8, Repoman-2.3.3

x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch [new file with mode: 0644]
x11-misc/fraqtive/fraqtive-0.4.8.ebuild

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 (file)
index 0000000..de31d9c
--- /dev/null
@@ -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"
index 8d3effac98fe9a5c9c2cef3902e7325316ac0256..5c0a787ab56aad630ef46332a08c7e9867027b64 100644 (file)
@@ -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"