Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql-extras:master commit in: /
Date: Tue, 21 Nov 2017 15:00:22
Message-Id: 1511276408.3a4ccb251df768eb8d9ab440ebf220c22a8556af.grknight@gentoo
1 commit: 3a4ccb251df768eb8d9ab440ebf220c22a8556af
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 21 15:00:08 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 21 15:00:08 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=3a4ccb25
7
8 Add gcc 7 compilation patch for MySQL 5.6
9
10 20028_all_mysql-5.6-gcc7.patch | 13 +++++++++++++
11 1 file changed, 13 insertions(+)
12
13 diff --git a/20028_all_mysql-5.6-gcc7.patch b/20028_all_mysql-5.6-gcc7.patch
14 new file mode 100644
15 index 0000000..cf8caed
16 --- /dev/null
17 +++ b/20028_all_mysql-5.6-gcc7.patch
18 @@ -0,0 +1,13 @@
19 +diff --git a/sql-common/client_authentication.cc b/sql-common/client_authentication.cc
20 +index eaeb2d4..035ecd2 100644
21 +--- a/sql-common/client_authentication.cc
22 ++++ b/sql-common/client_authentication.cc
23 +@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
24 +
25 + if (mysql->options.extension != NULL &&
26 + mysql->options.extension->server_public_key_path != NULL &&
27 +- mysql->options.extension->server_public_key_path != '\0')
28 ++ mysql->options.extension->server_public_key_path[0] != '\0')
29 + {
30 + pub_key_file= fopen(mysql->options.extension->server_public_key_path,
31 + "r");