x11-libs/snorenotify: backport patch from upstream adding missing include
authorMichael Palimaka <kensington@gentoo.org>
Mon, 12 Mar 2018 04:37:52 +0000 (15:37 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 12 Mar 2018 04:38:37 +0000 (15:38 +1100)
Closes: https://bugs.gentoo.org/587898
Package-Manager: Portage-2.3.24, Repoman-2.3.6

x11-libs/snorenotify/files/snorenotify-0.7.0-include.patch [new file with mode: 0644]
x11-libs/snorenotify/snorenotify-0.7.0-r1.ebuild

diff --git a/x11-libs/snorenotify/files/snorenotify-0.7.0-include.patch b/x11-libs/snorenotify/files/snorenotify-0.7.0-include.patch
new file mode 100644 (file)
index 0000000..ee99e26
--- /dev/null
@@ -0,0 +1,20 @@
+Bug: https://bugs.gentoo.org/587898
+
+commit 96fd4a7914e8daf924829606dc25f9e4767401dd
+Author: Hannah von Reth <vonreth@kde.org>
+Date:   Mon Nov 21 08:57:00 2016 +0100
+
+    [WIP] Support to build with static Qt and static plugins
+
+diff --git a/src/libsnore/notification/icon.cpp b/src/libsnore/notification/icon.cpp
+index b95ceb4..5c7c139 100644
+--- a/src/libsnore/notification/icon.cpp
++++ b/src/libsnore/notification/icon.cpp
+@@ -25,6 +25,7 @@
+ #include <QNetworkReply>
+ #include <QNetworkRequest>
+ #include <QUrl>
++#include <QTime>
+ using namespace Snore;
index ad78029107e1577874528f936b1e65b1b6c4504b..2fece7ed49e41b41ec2b43528bb8b5513103b037 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,7 +30,10 @@ DEPEND="${RDEPEND}
        test? ( dev-qt/qttest:5 )
 "
 
-PATCHES=( "${FILESDIR}/${P}-desktop.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-desktop.patch"
+       "${FILESDIR}/${P}-include.patch"
+)
 
 src_configure() {
        local mycmakeargs=(