summaryrefslogtreecommitdiff
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
parentmedia-sound/spotify: version bump to 1.0.64 (diff)
downloadgentoo-41813146072d2c00fce004372960f387ed5f3038.tar.gz
gentoo-41813146072d2c00fce004372960f387ed5f3038.tar.bz2
gentoo-41813146072d2c00fce004372960f387ed5f3038.zip
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 000000000000..21779d140a4e
--- /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 237a6187d8bb..2f4dc84145d7 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