summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-04-07 05:56:38 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-04-07 05:56:51 +1000
commitda9049b49494f5852a73ce7704fed35bfbfb1712 (patch)
tree7f6fd8b80dde7f5366ecbbfd79bff6881e5648d9 /net-libs
parentdev-python/PyQt5: arm stable, bug #552394 (diff)
downloadgentoo-da9049b49494f5852a73ce7704fed35bfbfb1712.tar.gz
gentoo-da9049b49494f5852a73ce7704fed35bfbfb1712.tar.bz2
gentoo-da9049b49494f5852a73ce7704fed35bfbfb1712.zip
net-libs/jreen: add patch to solve build failure with Qt 5.6
Gentoo-bug: 578912 Package-Manager: portage-2.2.28
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/jreen/files/jreen-qt5.6.patch15
-rw-r--r--net-libs/jreen/jreen-1.2.1.ebuild1
2 files changed, 16 insertions, 0 deletions
diff --git a/net-libs/jreen/files/jreen-qt5.6.patch b/net-libs/jreen/files/jreen-qt5.6.patch
new file mode 100644
index 000000000000..da6f085c27f9
--- /dev/null
+++ b/net-libs/jreen/files/jreen-qt5.6.patch
@@ -0,0 +1,15 @@
+Fix build with Qt 5.6
+
+Gentoo-bug: 578912
+
+--- a/src/stanzaextension.h
++++ b/src/stanzaextension.h
+@@ -28,7 +28,7 @@
+
+ #include <QObject>
+ #include <QSharedPointer>
+-#include <QMetaTypeId>
++#include <QMetaType>
+ #include "jreen.h"
+
+ class QXmlStreamWriter;
diff --git a/net-libs/jreen/jreen-1.2.1.ebuild b/net-libs/jreen/jreen-1.2.1.ebuild
index 15443680ec08..6969640a07a8 100644
--- a/net-libs/jreen/jreen-1.2.1.ebuild
+++ b/net-libs/jreen/jreen-1.2.1.ebuild
@@ -40,6 +40,7 @@ DEPEND="
RDEPEND="${DEPEND}"
DOCS=( AUTHORS ChangeLog README.md )
+PATCHES=( "${FILESDIR}/${PN}-qt5.6.patch" )
pkg_setup() {
MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )