Blame SOURCES/fetchmail-6.3.24-sslv3-in-ssllib-check.patch

afea54
diff -up fetchmail-6.3.24/config.h.in.orig fetchmail-6.3.24/config.h.in
afea54
--- fetchmail-6.3.24/config.h.in.orig	2017-06-13 10:14:37.783983820 +0200
afea54
+++ fetchmail-6.3.24/config.h.in	2017-06-13 10:15:38.532996937 +0200
afea54
@@ -53,6 +53,10 @@
afea54
    if you don't. */
afea54
 #undef HAVE_DECL_SSLV2_CLIENT_METHOD
afea54
 
afea54
+/* Define to 1 if you have the declaration of `SSLv3_client_method', and to 0
afea54
+   if you don't. */
afea54
+#undef HAVE_DECL_SSLV3_CLIENT_METHOD
afea54
+
afea54
 /* Define to 1 if you have the declaration of `strerror', and to 0 if you
afea54
    don't. */
afea54
 #undef HAVE_DECL_STRERROR
afea54
diff -up fetchmail-6.3.24/configure.orig fetchmail-6.3.24/configure
afea54
--- fetchmail-6.3.24/configure.orig	2017-06-13 10:23:06.824111065 +0200
afea54
+++ fetchmail-6.3.24/configure	2017-06-13 10:23:43.308129006 +0200
afea54
@@ -10133,6 +10133,18 @@ cat >>confdefs.h <<_ACEOF
afea54
 #define HAVE_DECL_SSLV2_CLIENT_METHOD $ac_have_decl
afea54
 _ACEOF
afea54
 
afea54
+	ac_fn_c_check_decl "$LINENO" "SSLv3_client_method" "ac_cv_have_decl_SSLv3_client_method" "#include <openssl/ssl.h>
afea54
+"
afea54
+if test "x$ac_cv_have_decl_SSLv3_client_method" = xyes; then :
afea54
+  ac_have_decl=1
afea54
+else
afea54
+  ac_have_decl=0
afea54
+fi
afea54
+
afea54
+cat >>confdefs.h <<_ACEOF
afea54
+#define HAVE_DECL_SSLV3_CLIENT_METHOD $ac_have_decl
afea54
+_ACEOF
afea54
+
afea54
 	;;
afea54
 esac
afea54