diff options
-rw-r--r-- | net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch | 24 | ||||
-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 |