summaryrefslogtreecommitdiff
path: root/security/ruby-password/files/patch-rbcrack.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/ruby-password/files/patch-rbcrack.c')
-rw-r--r--security/ruby-password/files/patch-rbcrack.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/ruby-password/files/patch-rbcrack.c b/security/ruby-password/files/patch-rbcrack.c
new file mode 100644
index 000000000000..e47328ea5f62
--- /dev/null
+++ b/security/ruby-password/files/patch-rbcrack.c
@@ -0,0 +1,15 @@
+--- rbcrack.c.orig Wed Sep 18 16:45:57 2002
++++ rbcrack.c Fri Sep 20 04:46:38 2002
+@@ -5,7 +5,11 @@
+ */
+
+ #include "ruby.h"
+-#include "crack.h"
++#ifdef HAVE_PACKER_H
++#include <packer.h>
++#else
++#include <crack.h>
++#endif
+ #include "rbcrack.h"
+
+ #define CRACK_VERSION "0.2.0"