aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2018-10-24 15:00:58 +0800
committercy <cy@FreeBSD.org>2018-10-24 15:00:58 +0800
commitd689a859a88cd11b99689485edff3f4955f0d772 (patch)
tree0c42cea22b12c8f8091a7d221d4969bcc27eed54
parentc283496539b92546c26109c813bb3e6abd27c6f2 (diff)
downloadfreebsd-ports-gnome-d689a859a88cd11b99689485edff3f4955f0d772.tar.gz
freebsd-ports-gnome-d689a859a88cd11b99689485edff3f4955f0d772.tar.zst
freebsd-ports-gnome-d689a859a88cd11b99689485edff3f4955f0d772.zip
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"