diff options
Diffstat (limited to 'net-misc/curl/files/curl-fix-gnutls-nettle.patch')
-rw-r--r-- | net-misc/curl/files/curl-fix-gnutls-nettle.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net-misc/curl/files/curl-fix-gnutls-nettle.patch b/net-misc/curl/files/curl-fix-gnutls-nettle.patch deleted file mode 100644 index fbacb7748bdc..000000000000 --- a/net-misc/curl/files/curl-fix-gnutls-nettle.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Naur curl-7.25.0.orig//configure.ac curl-7.25.0/configure.ac ---- curl-7.25.0.orig//configure.ac 2012-04-04 17:24:48.000000000 -0400 -+++ curl-7.25.0/configure.ac 2012-04-04 17:23:07.000000000 -0400 -@@ -1823,20 +1823,9 @@ - - if test "$GNUTLS_ENABLED" = "1"; then - USE_GNUTLS_NETTLE= -- # First check if we can detect either crypto library via transitive linking -- AC_CHECK_LIB(gnutls, nettle_MD5Init, [ USE_GNUTLS_NETTLE=1 ]) -- if test "$USE_GNUTLS_NETTLE" = ""; then -- AC_CHECK_LIB(gnutls, gcry_control, [ USE_GNUTLS_NETTLE=0 ]) -- fi -- # If not, try linking directly to both of them to see if they are available -- if test "$USE_GNUTLS_NETTLE" = ""; then -- AC_CHECK_LIB(nettle, nettle_MD5Init, [ USE_GNUTLS_NETTLE=1 ]) -- fi -- if test "$USE_GNUTLS_NETTLE" = ""; then -- AC_CHECK_LIB(gcrypt, gcry_control, [ USE_GNUTLS_NETTLE=0 ]) -- fi -- if test "$USE_GNUTLS_NETTLE" = ""; then -- AC_MSG_ERROR([GnuTLS found, but neither gcrypt nor nettle found]) -+ AC_ARG_WITH(nettle) -+ if test "x$withval" = "xyes"; then -+ USE_GNUTLS_NETTLE=1 - fi - if test "$USE_GNUTLS_NETTLE" = "1"; then - AC_DEFINE(USE_GNUTLS_NETTLE, 1, [if GnuTLS uses nettle as crypto backend]) |