From: Jason A. Donenfeld Date: Fri, 28 Aug 2015 08:56:48 +0000 (+0200) Subject: media-sound/qjackctl: fix missing include for qt5 (bug #555450) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc235e58450187769d65ff850a12df42b9609e5b;p=gentoo.git media-sound/qjackctl: fix missing include for qt5 (bug #555450) Package-Manager: portage-2.2.20.1 --- 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 \