From b6c08b0df5503be01627016cd107b835b91a8c8d Mon Sep 17 00:00:00 2001 From: John Marino Date: Mon, 7 Jul 2014 15:16:05 +0000 Subject: security/arpCounterattack: stage, fix on F10+, fix on DragonFly Also: * convert to c++11 for clang builds * convert to new LIB_DEPENDS format * use @sample keyword * pet portlint * USE=tar --- .../arpCounterattack/files/patch-ethernetInfo.hpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 security/arpCounterattack/files/patch-ethernetInfo.hpp (limited to 'security/arpCounterattack/files/patch-ethernetInfo.hpp') diff --git a/security/arpCounterattack/files/patch-ethernetInfo.hpp b/security/arpCounterattack/files/patch-ethernetInfo.hpp new file mode 100644 index 000000000000..d1ab4447672c --- /dev/null +++ b/security/arpCounterattack/files/patch-ethernetInfo.hpp @@ -0,0 +1,22 @@ +--- ethernetInfo.hpp.orig 2010-10-11 21:46:00.000000000 +0000 ++++ ethernetInfo.hpp +@@ -27,7 +27,7 @@ + + #include + #include +-#include ++#include + + #include + +@@ -46,8 +46,8 @@ class EthernetInfo { + const std::string &find(const std::string oui); + const std::string &find(const char *oui); + private: +- std::tr1::unordered_map ouiMap; +- std::tr1::unordered_map ::const_iterator ouiItr; ++ std::unordered_map ouiMap; ++ std::unordered_map ::const_iterator ouiItr; + std::string _oui; + std::string empty; + std::string multicast; -- cgit v1.2.3