media-sound/qjackctl: fix missing include for qt5 (bug #555450)
authorJason A. Donenfeld <zx2c4@gentoo.org>
Fri, 28 Aug 2015 08:56:48 +0000 (10:56 +0200)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Fri, 28 Aug 2015 08:56:48 +0000 (10:56 +0200)
Package-Manager: portage-2.2.20.1

media-sound/qjackctl/files/qjackctl-0.4.0-qobject-include.patch [new file with mode: 0644]
media-sound/qjackctl/qjackctl-0.4.0.ebuild

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 (file)
index 0000000..429b5b9
--- /dev/null
@@ -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 <QObject>
+ #include <QStringList>
+ #include <jack/jack.h>
index 5e2e279b7f8d7e90bbacb8c2b6b427108306b48f..836bf8f6e660e8613a6b1a3c3cc7a193658074e6 100644 (file)
@@ -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 \