commit: 5e53b2d24b8e4abb071da123a81980093c76044c Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Wed Feb 1 14:44:10 2017 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Wed Feb 1 14:45:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e53b2d2
net-misc/curl: remove unused patch Package-Manager: portage-2.3.3 net-misc/curl/files/curl-fix-mbedtls.patch | 37 ------------------------------ 1 file changed, 37 deletions(-) diff --git a/net-misc/curl/files/curl-fix-mbedtls.patch b/net-misc/curl/files/curl-fix-mbedtls.patch deleted file mode 100644 index b82e4c6..00000000 --- a/net-misc/curl/files/curl-fix-mbedtls.patch +++ /dev/null @@ -1,37 +0,0 @@ -This addresses bug #599092 - -https://bugs.gentoo.org/show_bug.cgi?id=599092 - -commit 9ea3a6e150dfc822ba1565f649b634848597d2d9 -Author: Daniel Stenberg <[email protected]> -Date: Fri Nov 4 11:13:16 2016 +0100 - - mbedtls: fix build with mbedtls versions < 2.4.0 - - Regression added in 62a8095e714 - - Reported-by: Tony Kelman - - Discussed in #1087 - -diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c -index 24249dd..9f29ff0 100644 ---- a/lib/vtls/mbedtls.c -+++ b/lib/vtls/mbedtls.c -@@ -31,11 +31,15 @@ - - #ifdef USE_MBEDTLS - -+#include <mbedtls/version.h> -+#if MBEDTLS_VERSION_NUMBER >= 0x02040000 - #include <mbedtls/net_sockets.h> -+#else -+#include <mbedtls/net.h> -+#endif - #include <mbedtls/ssl.h> - #include <mbedtls/certs.h> - #include <mbedtls/x509.h> --#include <mbedtls/version.h> - - #include <mbedtls/error.h> - #include <mbedtls/entropy.h>
