diff options
Diffstat (limited to 'mail/fdm/patches')
-rw-r--r-- | mail/fdm/patches/patch-Makefile.am | 4 | ||||
-rw-r--r-- | mail/fdm/patches/patch-configure.ac | 26 |
2 files changed, 29 insertions, 1 deletions
diff --git a/mail/fdm/patches/patch-Makefile.am b/mail/fdm/patches/patch-Makefile.am index 9ae0ba8dc3b..e41c0fb09bd 100644 --- a/mail/fdm/patches/patch-Makefile.am +++ b/mail/fdm/patches/patch-Makefile.am @@ -1,4 +1,6 @@ -$NetBSD: patch-Makefile.am,v 1.1 2015/11/06 20:34:00 joerg Exp $ +$NetBSD: patch-Makefile.am,v 1.2 2018/05/04 15:33:22 leot Exp $ + +Fix race conditions. --- Makefile.am.orig 2015-11-06 14:11:58.000000000 +0000 +++ Makefile.am 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 |