From dc1a1d3f206ac6ce9c54acd7648f1c0311d4f110 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 24 Sep 2017 16:12:59 +1000 Subject: [PATCH] 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(-) create mode 100644 x11-misc/fraqtive/files/fraqtive-0.4.8-qt-includes.patch 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 000000000000..de31d9c37ec2 --- /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 + #endif + ++#include + #include + #include + +--- a/src/fractalgenerator.h ++++ b/src/fractalgenerator.h +@@ -21,6 +21,7 @@ + + #include + #include ++#include + #include + + #include "abstractjobprovider.h" diff --git a/x11-misc/fraqtive/fraqtive-0.4.8.ebuild b/x11-misc/fraqtive/fraqtive-0.4.8.ebuild index 8d3effac98fe..5c0a787ab56a 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" -- 2.26.2