/packages/network/afpfs-ng/patches/afpfs-ng-0.8.1-01-gcrypt.patch

http://github.com/OpenELEC/OpenELEC.tv · Patch · 25 lines · 25 code · 0 blank · 0 comment · 0 complexity · dd818af8d498d17db5472d87a3dfd35f MD5 · raw file

  1. diff -Naur afpfs-ng-0.8.1/configure.ac afpfs-ng-0.8.1.patch/configure.ac
  2. --- afpfs-ng-0.8.1/configure.ac 2011-09-10 12:14:34.164716403 +0200
  3. +++ afpfs-ng-0.8.1.patch/configure.ac 2011-09-10 12:15:13.266241771 +0200
  4. @@ -51,21 +51,6 @@
  5. case $host in
  6. *-*-darwin*)
  7. AC_MSG_CHECKING([for correct gcrypt version])
  8. - AC_RUN_IFELSE(
  9. - [AC_LANG_PROGRAM([
  10. - #include <gcrypt.h>
  11. - #include <stdio.h>],[
  12. - char*p= GCRYPT_VERSION;
  13. - unsigned int vers;
  14. - vers=atoi(p)*10000;
  15. - p=strchr(p,'.')+1;
  16. - vers+=atoi(p)*100;
  17. - p=strchr(p,'.')+1;
  18. - vers+=atoi(p);
  19. - if (vers<10400) return 1;
  20. - ])],
  21. - [AC_MSG_RESULT([yes])],
  22. - [AC_MSG_ERROR([version is < 1.4.0])])
  23. AM_CONDITIONAL(HAVE_LIBGCRYPT, true)
  24. AC_DEFINE([HAVE_LIBGCRYPT], [1] )
  25. ;;