summaryrefslogtreecommitdiff
path: root/mail/fdm/patches/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fdm/patches/patch-configure.ac')
-rw-r--r--mail/fdm/patches/patch-configure.ac26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/fdm/patches/patch-configure.ac b/mail/fdm/patches/patch-configure.ac
new file mode 100644
index 00000000000..740b12e490c
--- /dev/null
+++ b/mail/fdm/patches/patch-configure.ac
@@ -0,0 +1,26 @@
+$NetBSD: patch-configure.ac,v 1.1 2018/05/04 15:33:22 leot Exp $
+
+Also check for OPENSSL_init_ssl (fixes build with OpenSSL 1.1.0).
+
+From upstream commit 070cee8d1efba1ca260777a204fba7cdfe676ca5.
+
+--- configure.ac.orig 2015-09-14 14:40:44.000000000 +0000
++++ configure.ac
+@@ -83,11 +83,16 @@ if test "x$found_libcrypto" = xno; then
+ AC_MSG_ERROR("libcrypto not found")
+ fi
+ AC_SEARCH_LIBS(
+- SSL_library_init,
++ OPENSSL_init_ssl,
+ [ssl],
+ found_libssl=yes,
+ found_libssl=no
+ )
++AC_SEARCH_LIBS(
++ SSL_library_init,
++ [ssl],
++ found_libssl=yes,
++)
+ if test "x$found_libssl" = xno; then
+ AC_MSG_ERROR("libssl not found")
+ fi