summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-10-20 02:28:58 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-10-20 02:29:15 +1100
commite7040dc794ae9ab66387ceded07e99e3ebd75feb (patch)
treea28726f1306f9ef8ce0ee438616e679b536f7ad5 /lxqt-base/liblxqt
parentwww-client/google-chrome-beta: automated update (diff)
downloadgentoo-e7040dc794ae9ab66387ceded07e99e3ebd75feb.tar.gz
gentoo-e7040dc794ae9ab66387ceded07e99e3ebd75feb.tar.bz2
gentoo-e7040dc794ae9ab66387ceded07e99e3ebd75feb.zip
lxqt-base/liblxqt: backport patch from upstream fixing build with Qt 5.5
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'lxqt-base/liblxqt')
-rw-r--r--lxqt-base/liblxqt/files/liblxqt-0.9.0-qt55.patch22
-rw-r--r--lxqt-base/liblxqt/liblxqt-0.9.0.ebuild2
2 files changed, 24 insertions, 0 deletions
diff --git a/lxqt-base/liblxqt/files/liblxqt-0.9.0-qt55.patch b/lxqt-base/liblxqt/files/liblxqt-0.9.0-qt55.patch
new file mode 100644
index 000000000000..c356dd38eecf
--- /dev/null
+++ b/lxqt-base/liblxqt/files/liblxqt-0.9.0-qt55.patch
@@ -0,0 +1,22 @@
+From 7303ea207de0771d6f450a31ec4a1ce69202869b Mon Sep 17 00:00:00 2001
+From: rezso <rezso@rezso.net>
+Date: Sun, 5 Jul 2015 18:46:13 +0200
+Subject: [PATCH] fix build with qt 5.5
+
+(lxqtnotification.h:43:5: error: 'Q_OBJECT' does not name a type)
+---
+ lxqtnotification.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lxqtnotification.h b/lxqtnotification.h
+index 4334a55..2d74504 100644
+--- a/lxqtnotification.h
++++ b/lxqtnotification.h
+@@ -25,6 +25,7 @@
+ #ifndef LXQTNOTIFICATION_H
+ #define LXQTNOTIFICATION_H
+
++#include <QObject>
+ #include <QStringList>
+ #include "lxqtglobals.h"
+
diff --git a/lxqt-base/liblxqt/liblxqt-0.9.0.ebuild b/lxqt-base/liblxqt/liblxqt-0.9.0.ebuild
index 77deedcbfda8..e51251a8e585 100644
--- a/lxqt-base/liblxqt/liblxqt-0.9.0.ebuild
+++ b/lxqt-base/liblxqt/liblxqt-0.9.0.ebuild
@@ -32,6 +32,8 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
"
+PATCHES=( "${FILESDIR}/${P}-qt55.patch" )
+
pkg_pretend() {
if [[ ${MERGE_TYPE} != binary ]]; then
[[ $(gcc-version) < 4.8 ]] && \