1 |
commit: 91295b5b246a1f2036f2de282fc36b6d4bbf4207 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 22 11:16:57 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 22 12:16:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91295b5b |
7 |
|
8 |
dev-libs/injeqt: Fix build with GCC-7 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/injeqt/files/injeqt-1.2.0-gcc7.patch | 22 ++++++++++++++++++++++ |
13 |
dev-libs/injeqt/injeqt-1.2.0.ebuild | 4 +++- |
14 |
2 files changed, 25 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-libs/injeqt/files/injeqt-1.2.0-gcc7.patch b/dev-libs/injeqt/files/injeqt-1.2.0-gcc7.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..33e51ce739e |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/injeqt/files/injeqt-1.2.0-gcc7.patch |
21 |
@@ -0,0 +1,22 @@ |
22 |
+From de025e0c472bdb2fcabbc9dc2fd443b91ab28e28 Mon Sep 17 00:00:00 2001 |
23 |
+From: =?UTF-8?q?Bart=C5=82omiej=20Burdukiewicz?= |
24 |
+ <bartlomiej.burdukiewicz@×××××.com> |
25 |
+Date: Wed, 24 May 2017 18:52:20 +0200 |
26 |
+Subject: [PATCH] fix compilation for GCC 7.1.0 |
27 |
+ |
28 |
+--- |
29 |
+ src/internal/containers.h | 1 + |
30 |
+ 1 file changed, 1 insertion(+) |
31 |
+ |
32 |
+diff --git a/src/internal/containers.h b/src/internal/containers.h |
33 |
+index 8da4298..78dd212 100644 |
34 |
+--- a/src/internal/containers.h |
35 |
++++ b/src/internal/containers.h |
36 |
+@@ -23,6 +23,7 @@ |
37 |
+ #include "internal.h" |
38 |
+ |
39 |
+ #include <algorithm> |
40 |
++#include <functional> |
41 |
+ #include <vector> |
42 |
+ |
43 |
+ /** |
44 |
|
45 |
diff --git a/dev-libs/injeqt/injeqt-1.2.0.ebuild b/dev-libs/injeqt/injeqt-1.2.0.ebuild |
46 |
index 6b98e1bd237..42e010b49f5 100644 |
47 |
--- a/dev-libs/injeqt/injeqt-1.2.0.ebuild |
48 |
+++ b/dev-libs/injeqt/injeqt-1.2.0.ebuild |
49 |
@@ -1,4 +1,4 @@ |
50 |
-# Copyright 1999-2017 Gentoo Foundation |
51 |
+# Copyright 1999-2018 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
|
54 |
EAPI=6 |
55 |
@@ -24,6 +24,8 @@ DEPEND="${RDEPEND} |
56 |
# https://github.com/vogel/injeqt/issues/18 |
57 |
RESTRICT=test |
58 |
|
59 |
+PATCHES=( "${FILESDIR}/${P}-gcc7.patch" ) |
60 |
+ |
61 |
src_configure() { |
62 |
local mycmakeargs=( |
63 |
-DDISABLE_EXAMPLES=ON |