git: b8ee7dca2268 - main - databases/percona57-*: update Percona MySQL to 5.7.41-44 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 03 Apr 2023 07:42:28 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b8ee7dca2268e33df41571463fbe8a3537550f8f

commit b8ee7dca2268e33df41571463fbe8a3537550f8f
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-04-03 07:38:05 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-04-03 07:42:19 +0000

    databases/percona57-*: update Percona MySQL to 5.7.41-44 release (+)
    
    While here, introduce HAVE_TYPE_MY_BOOL variable alongside with typedef char my_bool;
    
    This unbreak devel/apr1 build with mysql integration enabled whule dafault is set to percona
    
    Release notes:  https://docs.percona.com/percona-server/5.7/release-notes/5.7.41-44.html
---
 databases/percona57-client/files/patch-include_mysql.h | 13 +++++++++++++
 databases/percona57-server/Makefile                    |  2 +-
 databases/percona57-server/distinfo                    |  6 +++---
 databases/percona57-server/files/patch-include_mysql.h | 13 +++++++++++++
 4 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/databases/percona57-client/files/patch-include_mysql.h b/databases/percona57-client/files/patch-include_mysql.h
new file mode 100644
index 000000000000..906bdb42c4fb
--- /dev/null
+++ b/databases/percona57-client/files/patch-include_mysql.h
@@ -0,0 +1,13 @@
+--- include/mysql.h.orig	2023-02-28 17:21:35 UTC
++++ include/mysql.h
+@@ -46,7 +46,10 @@ extern "C" {
+ #ifndef MYSQL_ABI_CHECK
+ #include <sys/types.h>
+ #endif
++#ifndef HAVE_TYPE_MY_BOOL
++#define HAVE_TYPE_MY_BOOL
+ typedef char my_bool;
++#endif
+ #if !defined(_WIN32)
+ #define STDCALL
+ #else
diff --git a/databases/percona57-server/Makefile b/databases/percona57-server/Makefile
index 5227b70edb57..d2684bd89315 100644
--- a/databases/percona57-server/Makefile
+++ b/databases/percona57-server/Makefile
@@ -1,5 +1,5 @@
 PORTNAME?=	percona
-DISTVERSION=	5.7.40-43
+DISTVERSION=	5.7.41-44
 PORTREVISION?=	0
 CATEGORIES=	databases
 MASTER_SITES=	http://www.percona.com/downloads/Percona-Server-5.7/Percona-Server-${DISTVERSION}/source/tarball/:percona \
diff --git a/databases/percona57-server/distinfo b/databases/percona57-server/distinfo
index 149cc087c4a8..d7cf196c239a 100644
--- a/databases/percona57-server/distinfo
+++ b/databases/percona57-server/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1676227879
-SHA256 (percona-server-5.7.40-43.tar.gz) = d0af51b4bdbac8b7f61aafbdc3311f4788350c7856861857fd740d4224012d09
-SIZE (percona-server-5.7.40-43.tar.gz) = 91574210
+TIMESTAMP = 1680502515
+SHA256 (percona-server-5.7.41-44.tar.gz) = 7e3b8e73c440536cfea8b9d3103e5564e915b3becc3611c2970b1d0f8359fdcf
+SIZE (percona-server-5.7.41-44.tar.gz) = 91579562
 SHA256 (boost_1_59_0.tar.gz) = 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac
 SIZE (boost_1_59_0.tar.gz) = 83709983
diff --git a/databases/percona57-server/files/patch-include_mysql.h b/databases/percona57-server/files/patch-include_mysql.h
new file mode 100644
index 000000000000..906bdb42c4fb
--- /dev/null
+++ b/databases/percona57-server/files/patch-include_mysql.h
@@ -0,0 +1,13 @@
+--- include/mysql.h.orig	2023-02-28 17:21:35 UTC
++++ include/mysql.h
+@@ -46,7 +46,10 @@ extern "C" {
+ #ifndef MYSQL_ABI_CHECK
+ #include <sys/types.h>
+ #endif
++#ifndef HAVE_TYPE_MY_BOOL
++#define HAVE_TYPE_MY_BOOL
+ typedef char my_bool;
++#endif
+ #if !defined(_WIN32)
+ #define STDCALL
+ #else