commit:     44f39950b3a43193931dcbae213fa65321e0aac8
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 11:10:38 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 12:16:05 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f39950

net-im/kadu: Fix build with GCC-7

Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta <AT> gmail.com>
Closes: https://bugs.gentoo.org/636738
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-im/kadu/files/kadu-4.3-gcc7.patch | 10 ++++++++++
 net-im/kadu/kadu-4.3-r1.ebuild        |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-im/kadu/files/kadu-4.3-gcc7.patch 
b/net-im/kadu/files/kadu-4.3-gcc7.patch
new file mode 100644
index 00000000000..097157f98c7
--- /dev/null
+++ b/net-im/kadu/files/kadu-4.3-gcc7.patch
@@ -0,0 +1,10 @@
+--- a/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h
++++ b/kadu-core/plugin/dependency-graph/plugin-dependency-graph-builder.h
+@@ -20,6 +20,7 @@
+ #pragma once
+ 
+ #include <QtCore/QObject>
++#include <functional>
+ #include <map>
+ #include <set>
+ 

diff --git a/net-im/kadu/kadu-4.3-r1.ebuild b/net-im/kadu/kadu-4.3-r1.ebuild
index 64b44fa43c1..5e1f571bbf7 100644
--- a/net-im/kadu/kadu-4.3-r1.ebuild
+++ b/net-im/kadu/kadu-4.3-r1.ebuild
@@ -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"
@@ -103,6 +103,7 @@ word_fix
 PATCHES=(
        "${FILESDIR}/${PN}-4.3-do-not-force-ccache.patch"
        "${FILESDIR}/${PN}-4.3-fix-plugins-rpath.patch"
+       "${FILESDIR}/${PN}-4.3-gcc7.patch"
 )
 
 src_configure() {

Reply via email to