summaryrefslogtreecommitdiff
path: root/data/vfdecrypt
diff options
context:
space:
mode:
Diffstat (limited to 'data/vfdecrypt')
l---------data/vfdecrypt/_metadata/openssl.dep1
-rw-r--r--data/vfdecrypt/make.sh3
-rw-r--r--data/vfdecrypt/osswap.diff11
3 files changed, 14 insertions, 1 deletions
diff --git a/data/vfdecrypt/_metadata/openssl.dep b/data/vfdecrypt/_metadata/openssl.dep
new file mode 120000
index 000000000..9b58fd56b
--- /dev/null
+++ b/data/vfdecrypt/_metadata/openssl.dep
@@ -0,0 +1 @@
+../../openssl \ No newline at end of file
diff --git a/data/vfdecrypt/make.sh b/data/vfdecrypt/make.sh
index d03245f99..df7db7d63 100644
--- a/data/vfdecrypt/make.sh
+++ b/data/vfdecrypt/make.sh
@@ -1,5 +1,6 @@
pkg:extract
cd *
-make CC=arm-apple-darwin-gcc
+pkg:patch
+make CC=${PKG_TARG}-gcc
pkg: mkdir -p /usr/bin
pkg: mv vfdecrypt /usr/bin
diff --git a/data/vfdecrypt/osswap.diff b/data/vfdecrypt/osswap.diff
new file mode 100644
index 000000000..0dc4495ea
--- /dev/null
+++ b/data/vfdecrypt/osswap.diff
@@ -0,0 +1,11 @@
+diff -ru vfdecrypt-iphone/util.c vfdecrypt-iphone+iPhone/util.c
+--- vfdecrypt-iphone/util.c 2007-08-12 22:02:19.000000000 +0000
++++ vfdecrypt-iphone+iPhone/util.c 2008-03-24 13:12:13.000000000 +0000
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#include <libkern/OSByteOrder.h>
+ #include "util.h"
+
+ void print_hex(uint8_t *data, uint32_t len)