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/files/, net-analyzer/icinga2/
Date: Fri, 29 Sep 2017 21:59:28
Message-Id: 1506722345.41813146072d2c00fce004372960f387ed5f3038.prometheanfire@gentoo
1 commit: 41813146072d2c00fce004372960f387ed5f3038
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 21:59:05 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 21:59:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41813146
7
8 net-analyzer/icinga2: another missing include...
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 .../files/fix-missing-include-2.7.1-2.patch | 24 ++++++++++++++++++++++
13 ...cinga2-2.7.1.ebuild => icinga2-2.7.1-r1.ebuild} | 1 +
14 2 files changed, 25 insertions(+)
15
16 diff --git a/net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch b/net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch
17 new file mode 100644
18 index 00000000000..21779d140a4
19 --- /dev/null
20 +++ b/net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch
21 @@ -0,0 +1,24 @@
22 +From 2d036e6886fb68707e861a6e5f75a6088d149832 Mon Sep 17 00:00:00 2001
23 +From: Michael <mcktr55@×××××.com>
24 +Date: Tue, 26 Sep 2017 22:01:07 +0200
25 +Subject: [PATCH] Fixed missing include statement in unit test
26 +
27 +This adds the missing iostream include to the notification unit test.
28 +
29 +refs #5613
30 +---
31 + test/icinga-notification.cpp | 1 +
32 + 1 file changed, 1 insertion(+)
33 +
34 +diff --git a/test/icinga-notification.cpp b/test/icinga-notification.cpp
35 +index 8db93fa50..97f7838a1 100644
36 +--- a/test/icinga-notification.cpp
37 ++++ b/test/icinga-notification.cpp
38 +@@ -19,6 +19,7 @@
39 +
40 + #include "icinga/notification.hpp"
41 + #include <BoostTestTargetConfig.h>
42 ++#include <iostream>
43 +
44 + using namespace icinga;
45 +
46
47 diff --git a/net-analyzer/icinga2/icinga2-2.7.1.ebuild b/net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild
48 similarity index 98%
49 rename from net-analyzer/icinga2/icinga2-2.7.1.ebuild
50 rename to net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild
51 index 237a6187d8b..2f4dc84145d 100644
52 --- a/net-analyzer/icinga2/icinga2-2.7.1.ebuild
53 +++ b/net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild
54 @@ -48,6 +48,7 @@ REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
55
56 PATCHES=(
57 "${FILESDIR}/fix-missing-include-2.7.1.patch"
58 + "${FILESDIR}/fix-missing-include-2.7.1-2.patch"
59 )
60
61 want_apache2