summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-10-24 07:00:58 +0000
committerCy Schubert <cy@FreeBSD.org>2018-10-24 07:00:58 +0000
commite15b0e362b4c68e22883c8881126a1f0f9df1c22 (patch)
tree0c42cea22b12c8f8091a7d221d4969bcc27eed54
parentscience/avogadro: Add CONFLICTS statement (diff)
Fix openssl111 build and build under current and stable/12.
MFH: 2018Q4
-rw-r--r--sysutils/nut/files/patch-m4_nut__check__libopenssl.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/nut/files/patch-m4_nut__check__libopenssl.m4 b/sysutils/nut/files/patch-m4_nut__check__libopenssl.m4
new file mode 100644
index 000000000000..7b792c672e0e
--- /dev/null
+++ b/sysutils/nut/files/patch-m4_nut__check__libopenssl.m4
@@ -0,0 +1,10 @@
+--- m4/nut_check_libopenssl.m4.orig 2015-12-29 00:42:34.000000000 -0800
++++ m4/nut_check_libopenssl.m4 2018-10-23 12:32:09.902960000 -0700
+@@ -58,7 +58,6 @@
+
+ dnl check if openssl is usable
+ AC_CHECK_HEADERS(openssl/ssl.h, [nut_have_openssl=yes], [nut_have_openssl=no], [AC_INCLUDES_DEFAULT])
+- AC_CHECK_FUNCS(SSL_library_init, [], [nut_have_openssl=no])
+
+ if test "${nut_have_openssl}" = "yes"; then
+ nut_with_ssl="yes"