git: d78105b289a6 - main - databases/xtrabackup81: Fix build with Clang 17 (FreeBSD 13.3 base)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jun 2024 02:49:42 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d78105b289a6fbc78df1fa7afbc9e0e90f1d8203 commit d78105b289a6fbc78df1fa7afbc9e0e90f1d8203 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-06-03 02:40:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-06-03 02:40:49 +0000 databases/xtrabackup81: Fix build with Clang 17 (FreeBSD 13.3 base) Approved by: portmgr (blanket) Obtained from: https://cgit.freebsd.org/ports/commit/?id=1c1158a5200990584a0ec761e3869963ead26adc --- .../xtrabackup81/files/patch-sql_auth_sql__authorization.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/databases/xtrabackup81/files/patch-sql_auth_sql__authorization.cc b/databases/xtrabackup81/files/patch-sql_auth_sql__authorization.cc new file mode 100644 index 000000000000..95b8518d0a9a --- /dev/null +++ b/databases/xtrabackup81/files/patch-sql_auth_sql__authorization.cc @@ -0,0 +1,13 @@ +--- sql/auth/sql_authorization.cc.orig 2023-10-19 12:05:28 UTC ++++ sql/auth/sql_authorization.cc +@@ -7437,6 +7437,10 @@ bool operator==(const Role_id &a, const std::string &b + return tmp == b; + } + ++bool operator==(const Role_id &a, const LEX_CSTRING &b) { ++ return a == to_string(b); ++} ++ + bool operator==(const std::pair<Role_id, bool> &a, const std::string &b) { + return a.first == b; + }