summaryrefslogtreecommitdiff
path: root/data/afpfs-ng/gcrypt.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2010-10-24 06:25:46 +0000
committerJay Freeman <saurik@saurik.com>2010-10-24 06:25:46 +0000
commit95ed185331ae30f905a299874fbf93afd4736e96 (patch)
tree77fe8ed1eec2b135914d28803cd0f703ca49e29a /data/afpfs-ng/gcrypt.diff
parentc9b87562d94878e9da7582ffd7946d45f7c9047b (diff)
First draft at afpfs-ng package.
git-svn-id: http://svn.telesphoreo.org/trunk@733 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/afpfs-ng/gcrypt.diff')
-rw-r--r--data/afpfs-ng/gcrypt.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/afpfs-ng/gcrypt.diff b/data/afpfs-ng/gcrypt.diff
new file mode 100644
index 000000000..4b1bfb8fb
--- /dev/null
+++ b/data/afpfs-ng/gcrypt.diff
@@ -0,0 +1,25 @@
+diff -ru afpfs-ng-0.8.1/configure.ac afpfs-ng-0.8.1+iPhone/configure.ac
+--- afpfs-ng-0.8.1/configure.ac 2008-03-08 16:23:12.000000000 +0000
++++ afpfs-ng-0.8.1+iPhone/configure.ac 2010-10-24 05:26:15.000000000 +0000
+@@ -50,21 +50,6 @@
+ case $host in
+ *-*-darwin*)
+ AC_MSG_CHECKING([for correct gcrypt version])
+- AC_RUN_IFELSE(
+- [AC_LANG_PROGRAM([
+- #include <gcrypt.h>
+- #include <stdio.h>],[
+- char*p= GCRYPT_VERSION;
+- unsigned int vers;
+- vers=atoi(p)*10000;
+- p=strchr(p,'.')+1;
+- vers+=atoi(p)*100;
+- p=strchr(p,'.')+1;
+- vers+=atoi(p);
+- if (vers<10400) return 1;
+- ])],
+- [AC_MSG_RESULT([yes])],
+- [AC_MSG_ERROR([version is < 1.4.0])])
+ AM_CONDITIONAL(HAVE_LIBGCRYPT, true)
+ AC_DEFINE([HAVE_LIBGCRYPT], [1] )
+ ;;