diff options
author | Brian Evans <grknight@gentoo.org> | 2017-11-21 13:48:25 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-11-21 14:34:14 -0500 |
commit | e8c5b876c36e2dd221aa26edd577c296fbef39f8 (patch) | |
tree | 0dd2cf3ebc6bf19ff60ed150f1b0dc6ff0f08e3b /dev-db/mysql-connector-c/files | |
parent | sys-cluster/torque-6.0.3: fix an empty-string comparison error (diff) | |
download | gentoo-e8c5b876c36e2dd221aa26edd577c296fbef39f8.tar.gz gentoo-e8c5b876c36e2dd221aa26edd577c296fbef39f8.tar.bz2 gentoo-e8c5b876c36e2dd221aa26edd577c296fbef39f8.zip |
dev-db/mysql-connector-c: Version bump and fix gcc 7 build
Closes: https://bugs.gentoo.org/638360
Package-Manager: Portage-2.3.15, Repoman-2.3.6
Diffstat (limited to 'dev-db/mysql-connector-c/files')
-rw-r--r-- | dev-db/mysql-connector-c/files/20028_all_mysql-5.6-gcc7.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-db/mysql-connector-c/files/20028_all_mysql-5.6-gcc7.patch b/dev-db/mysql-connector-c/files/20028_all_mysql-5.6-gcc7.patch new file mode 100644 index 000000000000..cf8caedb7f1b --- /dev/null +++ b/dev-db/mysql-connector-c/files/20028_all_mysql-5.6-gcc7.patch @@ -0,0 +1,13 @@ +diff --git a/sql-common/client_authentication.cc b/sql-common/client_authentication.cc +index eaeb2d4..035ecd2 100644 +--- a/sql-common/client_authentication.cc ++++ b/sql-common/client_authentication.cc +@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql) + + if (mysql->options.extension != NULL && + mysql->options.extension->server_public_key_path != NULL && +- mysql->options.extension->server_public_key_path != '\0') ++ mysql->options.extension->server_public_key_path[0] != '\0') + { + pub_key_file= fopen(mysql->options.extension->server_public_key_path, + "r"); |