lxqt-base/liblxqt: backport patch from upstream fixing build with Qt 5.5
authorMichael Palimaka <kensington@gentoo.org>
Mon, 19 Oct 2015 15:28:58 +0000 (02:28 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 19 Oct 2015 15:29:15 +0000 (02:29 +1100)
Package-Manager: portage-2.2.20.1

lxqt-base/liblxqt/files/liblxqt-0.9.0-qt55.patch [new file with mode: 0644]
lxqt-base/liblxqt/liblxqt-0.9.0.ebuild

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 (file)
index 0000000..c356dd3
--- /dev/null
@@ -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"
+ 
index 77deedcbfda87e0726f2d6775623d98f81d8f471..e51251a8e5850646d4182b0de03ae6abb4e449d7 100644 (file)
@@ -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 ]] && \