summaryrefslogtreecommitdiff
path: root/security/arpCounterattack/files/patch-arpCounterattack.hpp
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-07 15:16:05 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-07 15:16:05 +0000
commitb6c08b0df5503be01627016cd107b835b91a8c8d (patch)
tree4311c9ac50ce47a0a3629b7ae3f5511c88c6cf0b /security/arpCounterattack/files/patch-arpCounterattack.hpp
parentAdd staging support (diff)
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
Notes
Notes: svn path=/head/; revision=361098
Diffstat (limited to 'security/arpCounterattack/files/patch-arpCounterattack.hpp')
-rw-r--r--security/arpCounterattack/files/patch-arpCounterattack.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/arpCounterattack/files/patch-arpCounterattack.hpp b/security/arpCounterattack/files/patch-arpCounterattack.hpp
new file mode 100644
index 000000000000..82a500e1e891
--- /dev/null
+++ b/security/arpCounterattack/files/patch-arpCounterattack.hpp
@@ -0,0 +1,20 @@
+--- arpCounterattack.hpp.orig 2010-11-04 01:26:14.000000000 +0000
++++ arpCounterattack.hpp
+@@ -24,7 +24,7 @@
+
+ #include <string>
+ #include <vector>
+-#include <tr1/unordered_map>
++#include <unordered_map>
+
+ #include <sys/socket.h>
+ #include <sys/time.h>
+@@ -55,7 +55,7 @@ struct Interface {
+ std::string replyName;
+ pcap_t *replyDescriptor;
+ ModeType mode;
+- std::tr1::unordered_map <uint32_t, std::string> pairs;
++ std::unordered_map <uint32_t, std::string> pairs;
+ };
+
+ struct ARPCorrection {