From 202da1d546a8efdd1eee4aacf5ed2fcec4c82e4d Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Fri, 24 May 2019 16:06:31 +0000 Subject: security/arpCounterattack: fix build failure PR: 236440 Submitted by: w.schwarzenfeld@utanet.at Reported by: my-roaming-data@outlook.com --- security/arpCounterattack/files/patch-address.hpp | 4 ++-- security/arpCounterattack/files/patch-arpCounterattack.cpp | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'security/arpCounterattack/files') diff --git a/security/arpCounterattack/files/patch-address.hpp b/security/arpCounterattack/files/patch-address.hpp index 57fb6a54fa1e..0e97021a49fe 100644 --- a/security/arpCounterattack/files/patch-address.hpp +++ b/security/arpCounterattack/files/patch-address.hpp @@ -1,4 +1,4 @@ ---- address.hpp.orig 2010-09-28 18:12:26.000000000 +0000 +--- address.hpp.orig 2010-09-28 18:12:26 UTC +++ address.hpp @@ -28,7 +28,7 @@ #include @@ -18,7 +18,7 @@ return std::string((char*)binaryEthernetAddress.octet, ETHER_ADDR_LEN); #endif #ifdef __linux__ -@@ -60,7 +60,7 @@ std::string textToEthernet(const std::st +@@ -60,7 +60,7 @@ std::string textToEthernet(const std::string &textEthe std::string ethernetToText(const char *binaryEthernetAddress) { ether_addr _binaryEthernetAddress; char textEthernetAddress[17]; diff --git a/security/arpCounterattack/files/patch-arpCounterattack.cpp b/security/arpCounterattack/files/patch-arpCounterattack.cpp index c1a28076eca0..adfdcf8f0be9 100644 --- a/security/arpCounterattack/files/patch-arpCounterattack.cpp +++ b/security/arpCounterattack/files/patch-arpCounterattack.cpp @@ -1,6 +1,6 @@ ---- arpCounterattack.cpp.orig 2010-11-04 01:26:49.000000000 +0000 +--- arpCounterattack.cpp.orig 2019-03-13 08:10:31 UTC +++ arpCounterattack.cpp -@@ -25,7 +25,7 @@ +@@ -25,13 +25,14 @@ #include #include #include @@ -9,7 +9,14 @@ #include #ifdef __FreeBSD__ -@@ -47,7 +47,6 @@ + #include + #endif + ++#include + #include + #include + #include +@@ -47,7 +48,6 @@ #include "string.hpp" using namespace std; -- cgit v1.2.3