summaryrefslogtreecommitdiff
path: root/databases/percona57-server/files/patch-vio_viosslfactories.c
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2019-12-06 16:00:36 +0000
committerDima Panov <fluffy@FreeBSD.org>2019-12-06 16:00:36 +0000
commit6a9a1171e6954e63ac9c00ef913b4f7167b1947d (patch)
tree4c1b71283a6d7be3a4c96658744cf9b75f566bdd /databases/percona57-server/files/patch-vio_viosslfactories.c
parentMOVED: Pet MOVEDlint (diff)
databases/percona57-{server,client} update to 5.7.27-30 release
percona57-client: - Install compat pkgconfig symlink as well as it done for libs (many packages still search for mysqlclient.pc only) percona57-server: - Proper use system lz4/zstd libs for rocksdb engine - Declare system libevent to use instead of bundled one - Stop pollute libdata/pkgconfig dir with unneeded .pc file - Unbreak build with DEFAULT_VERSIONS+=ssl=libressl PR: 239347 Submitted by: fluffy [cleanups], Igor Zabelin [update] Approved by: maintainer (timeout, >3 months)
Notes
Notes: svn path=/head/; revision=519153
Diffstat (limited to 'databases/percona57-server/files/patch-vio_viosslfactories.c')
-rw-r--r--databases/percona57-server/files/patch-vio_viosslfactories.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/percona57-server/files/patch-vio_viosslfactories.c b/databases/percona57-server/files/patch-vio_viosslfactories.c
new file mode 100644
index 000000000000..35fadb4c302e
--- /dev/null
+++ b/databases/percona57-server/files/patch-vio_viosslfactories.c
@@ -0,0 +1,11 @@
+--- vio/viosslfactories.c.orig 2019-05-16 05:06:00 UTC
++++ vio/viosslfactories.c
+@@ -123,7 +123,7 @@ static DH *get_dh2048(void)
+ {
+ BIGNUM* p= BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
+ BIGNUM* g= BN_bin2bn(dh2048_g,sizeof(dh2048_g),NULL);
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ dh->p= p;
+ dh->g= g;
+ if (! dh->p || ! dh->g)