net-analyzer/icinga2: another missing include...
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 29 Sep 2017 21:59:05 +0000 (16:59 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 29 Sep 2017 21:59:05 +0000 (16:59 -0500)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

net-analyzer/icinga2/files/fix-missing-include-2.7.1-2.patch [new file with mode: 0644]
net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild [moved from net-analyzer/icinga2/icinga2-2.7.1.ebuild with 98% similarity]

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 (file)
index 0000000..21779d1
--- /dev/null
@@ -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;
similarity index 98%
rename from net-analyzer/icinga2/icinga2-2.7.1.ebuild
rename to net-analyzer/icinga2/icinga2-2.7.1-r1.ebuild
index 237a6187d8bb65310a7c402d7244a8fffaae5d16..2f4dc84145d71e2925c73ad230a70123efeab45f 100644 (file)
@@ -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