From 6abb6376e6ed1fecf0a122e3b3f91fc71e29cff6 Mon Sep 17 00:00:00 2001 From: "Sascha Kuehndel (InuSasha)" Date: Sat, 6 May 2017 17:05:56 +0200 Subject: [PATCH] mysql: fix gcc7 build --- ...l-0005-pchar-fix-in-client-authtentification.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/databases/mysql/patches/mysql-0005-pchar-fix-in-client-authtentification.patch diff --git a/packages/databases/mysql/patches/mysql-0005-pchar-fix-in-client-authtentification.patch b/packages/databases/mysql/patches/mysql-0005-pchar-fix-in-client-authtentification.patch new file mode 100644 index 0000000000..bbde74e716 --- /dev/null +++ b/packages/databases/mysql/patches/mysql-0005-pchar-fix-in-client-authtentification.patch @@ -0,0 +1,11 @@ +--- a/sql-common/client_authentication.cc 2017-05-06 16:38:34.349486565 +0200 ++++ b/sql-common/client_authentication.cc 2017-05-06 16:41:32.286431336 +0200 +@@ -84,7 +84,7 @@ + + 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') + { + pub_key_file= fopen(mysql->options.extension->server_public_key_path, + "r");