aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2018-11-01 03:40:15 +0800
committerflo <flo@FreeBSD.org>2018-11-01 03:40:15 +0800
commit9cadf65fa3fde72d482e7721873b7906afdbd454 (patch)
tree7389491b18603d65dfbd44dd6356aee5793fbd2c /databases
parentdc7929a1dea6fbe0b994d8c81bac1970f876b8e2 (diff)
downloadfreebsd-ports-gnome-9cadf65fa3fde72d482e7721873b7906afdbd454.tar.gz
freebsd-ports-gnome-9cadf65fa3fde72d482e7721873b7906afdbd454.tar.zst
freebsd-ports-gnome-9cadf65fa3fde72d482e7721873b7906afdbd454.zip
Fix build with libressl
PR: 232358 Submitted by: pizzamig
Diffstat (limited to 'databases')
-rw-r--r--databases/percona56-server/files/patch-sql_mysqld.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/databases/percona56-server/files/patch-sql_mysqld.cc b/databases/percona56-server/files/patch-sql_mysqld.cc
index 586f267f28c6..e60a5adcbacf 100644
--- a/databases/percona56-server/files/patch-sql_mysqld.cc
+++ b/databases/percona56-server/files/patch-sql_mysqld.cc
@@ -17,3 +17,12 @@
static void set_proxy()
{
const char *p;
+@@ -4685,7 +4695,7 @@ static void openssl_lock(int mode, opens
+ static int init_ssl()
+ {
+ #ifdef HAVE_OPENSSL
+-#ifndef HAVE_YASSL
++#if !defined(HAVE_YASSL) && defined(OPENSSL_FIPS)
+ int fips_mode= FIPS_mode();
+ if (fips_mode != 0)
+ {