Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/icinga2/, net-analyzer/icinga2/files/
Date: Tue, 26 Sep 2017 16:53:59
Message-Id: 1506444769.be33105395d2bea6316505ca5533feae5e3f4b9e.prometheanfire@gentoo
1 commit: be33105395d2bea6316505ca5533feae5e3f4b9e
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 26 16:52:49 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 26 16:52:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be331053
7
8 net-analyzer/icinga2: 2.7.1, fix missing include for bug 631252
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 .../icinga2/files/fix-missing-include-2.7.1.patch | 22 ++++++++++++++++++++++
13 net-analyzer/icinga2/icinga2-2.7.1.ebuild | 4 ++++
14 2 files changed, 26 insertions(+)
15
16 diff --git a/net-analyzer/icinga2/files/fix-missing-include-2.7.1.patch b/net-analyzer/icinga2/files/fix-missing-include-2.7.1.patch
17 new file mode 100644
18 index 00000000000..d170db478db
19 --- /dev/null
20 +++ b/net-analyzer/icinga2/files/fix-missing-include-2.7.1.patch
21 @@ -0,0 +1,22 @@
22 +From 631d1e85fc2575a26c700a15f309fccd9fb9ee4d Mon Sep 17 00:00:00 2001
23 +From: Michael <mcktr55@×××××.com>
24 +Date: Mon, 25 Sep 2017 01:07:50 +0200
25 +Subject: [PATCH] Fixed missing include statement in unit tests
26 +
27 +refs #5613
28 +---
29 + test/icinga-checkresult.cpp | 1 +
30 + 1 file changed, 1 insertion(+)
31 +
32 +diff --git a/test/icinga-checkresult.cpp b/test/icinga-checkresult.cpp
33 +index 7f14dd365..a128e9519 100644
34 +--- a/test/icinga-checkresult.cpp
35 ++++ b/test/icinga-checkresult.cpp
36 +@@ -19,6 +19,7 @@
37 +
38 + #include "icinga/host.hpp"
39 + #include <BoostTestTargetConfig.h>
40 ++#include <iostream>
41 +
42 + using namespace icinga;
43 +
44
45 diff --git a/net-analyzer/icinga2/icinga2-2.7.1.ebuild b/net-analyzer/icinga2/icinga2-2.7.1.ebuild
46 index 875027fb0d7..237a6187d8b 100644
47 --- a/net-analyzer/icinga2/icinga2-2.7.1.ebuild
48 +++ b/net-analyzer/icinga2/icinga2-2.7.1.ebuild
49 @@ -46,6 +46,10 @@ RDEPEND="
50
51 REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
52
53 +PATCHES=(
54 + "${FILESDIR}/fix-missing-include-2.7.1.patch"
55 +)
56 +
57 want_apache2
58
59 pkg_setup() {