From fc235e58450187769d65ff850a12df42b9609e5b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 28 Aug 2015 10:56:48 +0200 Subject: [PATCH] media-sound/qjackctl: fix missing include for qt5 (bug #555450) Package-Manager: portage-2.2.20.1 --- .../files/qjackctl-0.4.0-qobject-include.patch | 11 +++++++++++ media-sound/qjackctl/qjackctl-0.4.0.ebuild | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 media-sound/qjackctl/files/qjackctl-0.4.0-qobject-include.patch diff --git a/media-sound/qjackctl/files/qjackctl-0.4.0-qobject-include.patch b/media-sound/qjackctl/files/qjackctl-0.4.0-qobject-include.patch new file mode 100644 index 000000000000..429b5b983d90 --- /dev/null +++ b/media-sound/qjackctl/files/qjackctl-0.4.0-qobject-include.patch @@ -0,0 +1,11 @@ +diff -ru qjackctl-0.4.0/src/qjackctlPatchbayRack.h qjackctl-0.4.0-zx2c4/src/qjackctlPatchbayRack.h +--- qjackctl-0.4.0/src/qjackctlPatchbayRack.h 2015-07-15 15:30:36.801752820 +0200 ++++ qjackctl-0.4.0-zx2c4/src/qjackctlPatchbayRack.h 2015-08-28 10:53:45.711811995 +0200 +@@ -24,6 +24,7 @@ + + #include "qjackctlAbout.h" + ++#include + #include + + #include diff --git a/media-sound/qjackctl/qjackctl-0.4.0.ebuild b/media-sound/qjackctl/qjackctl-0.4.0.ebuild index 5e2e279b7f8d..836bf8f6e660 100644 --- a/media-sound/qjackctl/qjackctl-0.4.0.ebuild +++ b/media-sound/qjackctl/qjackctl-0.4.0.ebuild @@ -27,6 +27,10 @@ DEPEND="${RDEPEND}" DOCS="AUTHORS ChangeLog README TODO TRANSLATORS" +src_prepare() { + epatch "${FILESDIR}/${P}-qobject-include.patch" +} + src_configure() { use qt5 && export PATH="$(qt5_get_bindir):${PATH}" econf \ -- 2.26.2