From 83eed7a384d7a9332a34effd19fe0831b3bc988c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 9 May 2017 12:38:45 +0200 Subject: [PATCH] mysql: fix gcc-7.1.0 build --- srcpkgs/mysql/patches/gcc7-compare-string.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/mysql/patches/gcc7-compare-string.patch diff --git a/srcpkgs/mysql/patches/gcc7-compare-string.patch b/srcpkgs/mysql/patches/gcc7-compare-string.patch new file mode 100644 index 00000000000..ac2687f94b4 --- /dev/null +++ b/srcpkgs/mysql/patches/gcc7-compare-string.patch @@ -0,0 +1,11 @@ +--- sql/sql_acl.cc 2016-03-03 16:35:33.000000000 +0100 ++++ sql/sql_acl.cc 2017-05-09 11:28:16.879062433 +0200 +@@ -3029,7 +3029,7 @@ + * An empty password is considered to be of mysql_native type. + */ + +- if (combo->plugin.str == NULL || combo->plugin.str == '\0') ++ if (combo->plugin.str == NULL) + { + if (combo->uses_identified_by_password_clause) + {