summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2015-08-28 10:56:48 +0200
committerJason A. Donenfeld <zx2c4@gentoo.org>2015-08-28 10:56:48 +0200
commitfc235e58450187769d65ff850a12df42b9609e5b (patch)
tree88dded47b83eac0e83bd924f4c97b44dad22e617 /media-sound/qjackctl
parentkde-misc/basket: Fix HOMEPAGE (diff)
downloadgentoo-fc235e58450187769d65ff850a12df42b9609e5b.tar.gz
gentoo-fc235e58450187769d65ff850a12df42b9609e5b.tar.bz2
gentoo-fc235e58450187769d65ff850a12df42b9609e5b.zip
media-sound/qjackctl: fix missing include for qt5 (bug #555450)
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound/qjackctl')
-rw-r--r--media-sound/qjackctl/files/qjackctl-0.4.0-qobject-include.patch11
-rw-r--r--media-sound/qjackctl/qjackctl-0.4.0.ebuild4
2 files changed, 15 insertions, 0 deletions
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 <QObject>
+ #include <QStringList>
+
+ #include <jack/jack.h>
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 \