summaryrefslogtreecommitdiff
path: root/net-analyzer/icinga2
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-09-29 16:59:05 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-09-29 16:59:05 -0500
commit41813146072d2c00fce004372960f387ed5f3038 (patch)
treea55fa4895e7d7010270fbea1e985b71ee6953079 /net-analyzer/icinga2
parentfe0540451d405b254828637a090f6d8fd2b52492 (diff)
downloadgentoo-41813146072d2c00fce004372960f387ed5f3038.tar.gz
gentoo-41813146072d2c00fce004372960f387ed5f3038.tar.xz
net-analyzer/icinga2: another missing include...
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-analyzer/icinga2')
-rw-r--r--net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch24
-rw-r--r--net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild (renamed from net-analyzer/icinga2/icinga2-2.7.1.ebuild)1
2 files changed, 25 insertions, 0 deletions
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
new file mode 100644
index 00000000000..21779d140a4
--- /dev/null
+++ b/net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch
@@ -0,0 +1,24 @@
+From 2d036e6886fb68707e861a6e5f75a6088d149832 Mon Sep 17 00:00:00 2001
+From: Michael <mcktr55@gmail.com>
+Date: Tue, 26 Sep 2017 22:01:07 +0200
+Subject: [PATCH] Fixed missing include statement in unit test
+
+This adds the missing iostream include to the notification unit test.
+
+refs #5613
+---
+ test/icinga-notification.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/icinga-notification.cpp b/test/icinga-notification.cpp
+index 8db93fa50..97f7838a1 100644
+--- a/test/icinga-notification.cpp
++++ b/test/icinga-notification.cpp
+@@ -19,6 +19,7 @@
+
+ #include "icinga/notification.hpp"
+ #include <BoostTestTargetConfig.h>
++#include <iostream>
+
+ using namespace icinga;
+
diff --git a/net-analyzer/icinga2/icinga2-2.7.1.ebuild b/net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild
index 237a6187d8b..2f4dc84145d 100644
--- a/net-analyzer/icinga2/icinga2-2.7.1.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild
@@ -48,6 +48,7 @@ REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
PATCHES=(
"${FILESDIR}/fix-missing-include-2.7.1.patch"
+ "${FILESDIR}/fix-missing-include-2.7.1-2.patch"
)
want_apache2