summaryrefslogtreecommitdiff
path: root/net-analyzer/icinga2
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-09-26 11:52:49 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-09-26 11:52:49 -0500
commitbe33105395d2bea6316505ca5533feae5e3f4b9e (patch)
tree13515aabd91ef69800ff7e36c953a525762728ee /net-analyzer/icinga2
parentece263e445ff08921a9b963b8bd68aa75fd12b17 (diff)
downloadgentoo-be33105395d2bea6316505ca5533feae5e3f4b9e.tar.gz
gentoo-be33105395d2bea6316505ca5533feae5e3f4b9e.tar.xz
net-analyzer/icinga2: 2.7.1, fix missing include for bug 631252
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.patch22
-rw-r--r--net-analyzer/icinga2/icinga2-2.7.1.ebuild4
2 files changed, 26 insertions, 0 deletions
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
new file mode 100644
index 00000000000..d170db478db
--- /dev/null
+++ b/net-analyzer/icinga2/files/fix-missing-include-2.7.1.patch
@@ -0,0 +1,22 @@
+From 631d1e85fc2575a26c700a15f309fccd9fb9ee4d Mon Sep 17 00:00:00 2001
+From: Michael <mcktr55@gmail.com>
+Date: Mon, 25 Sep 2017 01:07:50 +0200
+Subject: [PATCH] Fixed missing include statement in unit tests
+
+refs #5613
+---
+ test/icinga-checkresult.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/icinga-checkresult.cpp b/test/icinga-checkresult.cpp
+index 7f14dd365..a128e9519 100644
+--- a/test/icinga-checkresult.cpp
++++ b/test/icinga-checkresult.cpp
+@@ -19,6 +19,7 @@
+
+ #include "icinga/host.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.ebuild
index 875027fb0d7..237a6187d8b 100644
--- a/net-analyzer/icinga2/icinga2-2.7.1.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.7.1.ebuild
@@ -46,6 +46,10 @@ RDEPEND="
REQUIRED_USE="!minimal? ( || ( mysql postgres ) )"
+PATCHES=(
+ "${FILESDIR}/fix-missing-include-2.7.1.patch"
+)
+
want_apache2
pkg_setup() {