diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-24 13:35:52 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-24 13:35:52 +0000 |
commit | 87830d8d1dbe3cf87a43a063b8b51540bf98f512 (patch) | |
tree | 597b03688ca4b68285ae57a143f8e0393e60f442 /security/rainbowcrack | |
parent | 06b56b5be06805fcf501e7d730f5fa3cd39fc1a7 (diff) | |
download | pkgsrc-87830d8d1dbe3cf87a43a063b8b51540bf98f512.tar.gz |
Fix missing includes exposed by newer GCC
Diffstat (limited to 'security/rainbowcrack')
7 files changed, 77 insertions, 1 deletions
diff --git a/security/rainbowcrack/patches/patch-aa b/security/rainbowcrack/patches/patch-aa index 7e067fee874..2a59395d997 100644 --- a/security/rainbowcrack/patches/patch-aa +++ b/security/rainbowcrack/patches/patch-aa @@ -1,9 +1,12 @@ --- src/Public.cpp.orig 2008-06-02 16:30:03 +0300 +++ src/Public.cpp 2008-06-02 16:31:17 +0300 -@@ -16,6 +16,10 @@ +--- src/Public.cpp.orig 2011-11-24 03:07:17.000000000 +0000 ++++ src/Public.cpp +@@ -16,6 +16,11 @@ #include <sys/param.h> #include <sys/sysctl.h> #include <unistd.h> ++ #include <string.h> + #ifdef __DragonFly__ + #include <vm/vm_param.h> + #include <sys/vmmeter.h> diff --git a/security/rainbowcrack/patches/patch-src_ChainWalkContext.cpp b/security/rainbowcrack/patches/patch-src_ChainWalkContext.cpp new file mode 100644 index 00000000000..39fa5192b4b --- /dev/null +++ b/security/rainbowcrack/patches/patch-src_ChainWalkContext.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_ChainWalkContext.cpp,v 1.1 2011/11/24 13:35:52 joerg Exp $ + +--- src/ChainWalkContext.cpp.orig 2011-11-24 03:08:16.000000000 +0000 ++++ src/ChainWalkContext.cpp +@@ -10,6 +10,7 @@ + + #include "ChainWalkContext.h" + ++#include <string.h> + #include <ctype.h> + #include <openssl/rand.h> + #ifdef _WIN32 diff --git a/security/rainbowcrack/patches/patch-src_ChainWalkSet.cpp b/security/rainbowcrack/patches/patch-src_ChainWalkSet.cpp new file mode 100644 index 00000000000..27f310f9594 --- /dev/null +++ b/security/rainbowcrack/patches/patch-src_ChainWalkSet.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_ChainWalkSet.cpp,v 1.1 2011/11/24 13:35:52 joerg Exp $ + +--- src/ChainWalkSet.cpp.orig 2011-11-24 03:09:44.000000000 +0000 ++++ src/ChainWalkSet.cpp +@@ -8,6 +8,7 @@ + #pragma warning(disable : 4786) + #endif + ++#include <string.h> + #include "ChainWalkSet.h" + + CChainWalkSet::CChainWalkSet() diff --git a/security/rainbowcrack/patches/patch-src_RainbowCrack.cpp b/security/rainbowcrack/patches/patch-src_RainbowCrack.cpp new file mode 100644 index 00000000000..63d00444311 --- /dev/null +++ b/security/rainbowcrack/patches/patch-src_RainbowCrack.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_RainbowCrack.cpp,v 1.1 2011/11/24 13:35:52 joerg Exp $ + +--- src/RainbowCrack.cpp.orig 2011-11-24 03:10:04.000000000 +0000 ++++ src/RainbowCrack.cpp +@@ -9,6 +9,7 @@ + #endif + + #include "CrackEngine.h" ++#include <string.h> + + #ifdef _WIN32 + #include <io.h> diff --git a/security/rainbowcrack/patches/patch-src_RainbowTableDump.cpp b/security/rainbowcrack/patches/patch-src_RainbowTableDump.cpp new file mode 100644 index 00000000000..51e60a1030a --- /dev/null +++ b/security/rainbowcrack/patches/patch-src_RainbowTableDump.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_RainbowTableDump.cpp,v 1.1 2011/11/24 13:35:52 joerg Exp $ + +--- src/RainbowTableDump.cpp.orig 2011-11-24 03:09:01.000000000 +0000 ++++ src/RainbowTableDump.cpp +@@ -5,6 +5,7 @@ + */ + + #include "ChainWalkContext.h" ++#include <stdlib.h> + + int main(int argc, char* argv[]) + { diff --git a/security/rainbowcrack/patches/patch-src_RainbowTableGenerate.cpp b/security/rainbowcrack/patches/patch-src_RainbowTableGenerate.cpp new file mode 100644 index 00000000000..1512431dce3 --- /dev/null +++ b/security/rainbowcrack/patches/patch-src_RainbowTableGenerate.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_RainbowTableGenerate.cpp,v 1.1 2011/11/24 13:35:52 joerg Exp $ + +--- src/RainbowTableGenerate.cpp.orig 2011-11-24 03:07:52.000000000 +0000 ++++ src/RainbowTableGenerate.cpp +@@ -13,6 +13,8 @@ + #else + #include <unistd.h> + #endif ++#include <stdlib.h> ++#include <string.h> + #include <time.h> + + #include "ChainWalkContext.h" diff --git a/security/rainbowcrack/patches/patch-src_RainbowTableSort.cpp b/security/rainbowcrack/patches/patch-src_RainbowTableSort.cpp new file mode 100644 index 00000000000..ca47f890ec1 --- /dev/null +++ b/security/rainbowcrack/patches/patch-src_RainbowTableSort.cpp @@ -0,0 +1,12 @@ +$NetBSD: patch-src_RainbowTableSort.cpp,v 1.1 2011/11/24 13:35:52 joerg Exp $ + +--- src/RainbowTableSort.cpp.orig 2011-11-24 03:09:27.000000000 +0000 ++++ src/RainbowTableSort.cpp +@@ -5,6 +5,7 @@ + */ + + #include "Public.h" ++#include <stdlib.h> + + #define ASSUMED_MIN_MEMORY 32 * 1024 * 1024 + |