summaryrefslogtreecommitdiff
path: root/security/rainbowcrack
diff options
context:
space:
mode:
authorjoerg <joerg>2013-01-11 00:06:21 +0000
committerjoerg <joerg>2013-01-11 00:06:21 +0000
commitb80b090c7815f287504a2827eea7764e56140b49 (patch)
tree8f2a8b318d2c068bdf2f8e280980d45d906562f5 /security/rainbowcrack
parent1f2f1536eea154bc5d7f877a8621896357d0905b (diff)
downloadpkgsrc-b80b090c7815f287504a2827eea7764e56140b49.tar.gz
Explicitly include sys/vmmeter.h on NetBSD now.
Diffstat (limited to 'security/rainbowcrack')
-rw-r--r--security/rainbowcrack/distinfo4
-rw-r--r--security/rainbowcrack/patches/patch-aa11
2 files changed, 9 insertions, 6 deletions
diff --git a/security/rainbowcrack/distinfo b/security/rainbowcrack/distinfo
index 834b53fc6c2..7a6ac4e79f1 100644
--- a/security/rainbowcrack/distinfo
+++ b/security/rainbowcrack/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2011/11/26 13:31:58 dholland Exp $
+$NetBSD: distinfo,v 1.4 2013/01/11 00:06:21 joerg Exp $
SHA1 (rainbowcrack-1.2-src.zip) = b077a654133cd108a3c619d66482e1796d56b0dc
RMD160 (rainbowcrack-1.2-src.zip) = 51fdcf84ebfbe8ebb9e5bc6c3d4452f9d158eb79
@@ -6,7 +6,7 @@ Size (rainbowcrack-1.2-src.zip) = 44742 bytes
SHA1 (rainbowcrack-1.2-openbsd-diffs.tar.gz) = 3ab5c1d293e8b86e5e206ecf859525e89f357acc
RMD160 (rainbowcrack-1.2-openbsd-diffs.tar.gz) = 709556a31e99aa069062762362f48b3ec24beabb
Size (rainbowcrack-1.2-openbsd-diffs.tar.gz) = 846 bytes
-SHA1 (patch-aa) = 3bf08a291d34a4400e1cf03fbf1c7e829160d39e
+SHA1 (patch-aa) = 01298e694fd944fe2053bb43403f3bed8e996143
SHA1 (patch-src_ChainWalkContext.cpp) = 126d27626e7f388600e79826c40dacc6e7934fcf
SHA1 (patch-src_ChainWalkSet.cpp) = 419509171455b5494775bc65e207be4a3dd083d9
SHA1 (patch-src_RainbowCrack.cpp) = 2cf562b0b55c881feae86dae9ecb62bfa1c5d351
diff --git a/security/rainbowcrack/patches/patch-aa b/security/rainbowcrack/patches/patch-aa
index 2a59395d997..390971a078e 100644
--- a/security/rainbowcrack/patches/patch-aa
+++ b/security/rainbowcrack/patches/patch-aa
@@ -1,8 +1,8 @@
---- src/Public.cpp.orig 2008-06-02 16:30:03 +0300
-+++ src/Public.cpp 2008-06-02 16:31:17 +0300
---- src/Public.cpp.orig 2011-11-24 03:07:17.000000000 +0000
+$NetBSD: patch-aa,v 1.3 2013/01/11 00:06:21 joerg Exp $
+
+--- src/Public.cpp.orig 2013-01-10 23:12:27.000000000 +0000
+++ src/Public.cpp
-@@ -16,6 +16,11 @@
+@@ -16,6 +16,14 @@
#include <sys/param.h>
#include <sys/sysctl.h>
#include <unistd.h>
@@ -11,6 +11,9 @@
+ #include <vm/vm_param.h>
+ #include <sys/vmmeter.h>
+ #endif
++ #ifdef __NetBSD__
++ #include <sys/vmmeter.h>
++ #endif
static int pageshift;
#define pagetok(size) ((size) << pageshift)