From 47f39553742ab470850e8b16c8c0de2f3a4030e2 Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Wed, 2 Jul 2025 15:13:41 +0700 Subject: databases/xtrabackup80: fix build with llvm-19 PORTREVISION not bumped as this fixes build. PR: 287958 Reported by: Eugene M. Zheganin (maintainer) Tested by: Eugene M. Zheganin (maintainer) --- databases/xtrabackup80/files/patch-sql_binlog__ostream.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/xtrabackup80/files/patch-sql_binlog__ostream.cc (limited to 'databases/xtrabackup80/files/patch-sql_binlog__ostream.cc') diff --git a/databases/xtrabackup80/files/patch-sql_binlog__ostream.cc b/databases/xtrabackup80/files/patch-sql_binlog__ostream.cc new file mode 100644 index 000000000000..870b55e23bf3 --- /dev/null +++ b/databases/xtrabackup80/files/patch-sql_binlog__ostream.cc @@ -0,0 +1,11 @@ +--- sql/binlog_ostream.cc.orig 2023-11-24 10:33:10 UTC ++++ sql/binlog_ostream.cc +@@ -239,7 +239,7 @@ bool IO_CACHE_binlog_cache_storage::setup_ciphers_pass + + /* Generate password, it is a random string. */ + if (my_rand_buffer(password, sizeof(password))) return true; +- password_str.append(password, sizeof(password)); ++ password_str.insert(password_str.end(), password, password + sizeof(password)); + + m_io_cache.m_encryptor->close(); + m_io_cache.m_decryptor->close(); -- cgit v1.2.3