diff options
Diffstat (limited to 'mail/fetchmail/files/patch-configure')
-rw-r--r-- | mail/fetchmail/files/patch-configure | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/mail/fetchmail/files/patch-configure b/mail/fetchmail/files/patch-configure new file mode 100644 index 000000000000..0ff6ec96d00a --- /dev/null +++ b/mail/fetchmail/files/patch-configure @@ -0,0 +1,53 @@ +--- configure.orig 2013-04-23 21:36:55 UTC ++++ configure +@@ -9552,11 +9552,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char krb5_des_string_to_key (); ++char krb5int_des_string_to_key (); + int + main () + { +-return krb5_des_string_to_key (); ++return krb5int_des_string_to_key (); + ; + return 0; + } +@@ -9591,11 +9591,11 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext + #ifdef __cplusplus + extern "C" + #endif +-char krb5_des_string_to_key (); ++char krb5int_des_string_to_key (); + int + main () + { +-return krb5_des_string_to_key (); ++return krb5int_des_string_to_key (); + ; + return 0; + } +@@ -10131,6 +10131,22 @@ fi + + cat >>confdefs.h <<_ACEOF + #define HAVE_DECL_SSLV2_CLIENT_METHOD $ac_have_decl ++_ACEOF ++ ++ ;; ++esac ++ ++case "$LIBS" in *-lssl*) ++ ac_fn_c_check_decl "$LINENO" "SSLv3_client_method" "ac_cv_have_decl_SSLv3_client_method" "#include <openssl/ssl.h> ++" ++if test "x$ac_cv_have_decl_SSLv3_client_method" = xyes; then : ++ ac_have_decl=1 ++else ++ ac_have_decl=0 ++fi ++ ++cat >>confdefs.h <<_ACEOF ++#define HAVE_DECL_SSLV3_CLIENT_METHOD $ac_have_decl + _ACEOF + + ;; |