diff options
author | Jochen Neumeister <joneum@FreeBSD.org> | 2024-05-24 18:08:52 +0200 |
---|---|---|
committer | Jochen Neumeister <joneum@FreeBSD.org> | 2024-05-24 18:15:44 +0200 |
commit | 3c10befc00dadfb8ff0db2e9016ef092df855345 (patch) | |
tree | 750fd5f30964323d1f52e0213e507e3f8bb50da1 /databases/mysql84-server/files/patch-vio_viossl.cc | |
parent | net/Makefile: Add missing entries (diff) |
databases/mysql84-{server|client}: add new Ports
Welcome MySQL 8.4
What is new in MySQL8.4 since MySQL 8.0:
https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html
HINT: MySQL8.2+ supports only 64-bit platforms!!!
special thanks for the majority of the work on this port: samm aka Alex
S.
Diffstat (limited to 'databases/mysql84-server/files/patch-vio_viossl.cc')
-rw-r--r-- | databases/mysql84-server/files/patch-vio_viossl.cc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/mysql84-server/files/patch-vio_viossl.cc b/databases/mysql84-server/files/patch-vio_viossl.cc new file mode 100644 index 000000000000..100aa9242692 --- /dev/null +++ b/databases/mysql84-server/files/patch-vio_viossl.cc @@ -0,0 +1,30 @@ +--- vio/viossl.cc.orig 2024-04-10 06:26:28 UTC ++++ vio/viossl.cc +@@ -46,7 +46,8 @@ + BIO_set_callback_ex was added in openSSL 1.1.1 + For older openSSL, use the deprecated BIO_set_callback. + */ +-#if OPENSSL_VERSION_NUMBER >= 0x10101000L ++#if OPENSSL_VERSION_NUMBER >= 0x10101000L && \ ++ !defined(LIBRESSL_VERSION_NUMBER) + #define HAVE_BIO_SET_CALLBACK_EX + #endif + +@@ -700,7 +701,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, l + #if !defined(NDEBUG) + { + STACK_OF(SSL_COMP) *ssl_comp_methods = nullptr; +- ssl_comp_methods = SSL_COMP_get_compression_methods(); ++ ssl_comp_methods = (STACK_OF(SSL_COMP) *)SSL_COMP_get_compression_methods(); + n = sk_SSL_COMP_num(ssl_comp_methods); + DBUG_PRINT("info", ("Available compression methods:\n")); + if (n == 0) +@@ -708,7 +709,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, l + else + for (j = 0; j < n; j++) { + SSL_COMP *c = sk_SSL_COMP_value(ssl_comp_methods, j); +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + DBUG_PRINT("info", (" %d: %s\n", c->id, c->name)); + #else /* OPENSSL_VERSION_NUMBER < 0x10100000L */ + DBUG_PRINT("info", |