From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D933E1396D9 for ; Tue, 21 Nov 2017 15:00:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EF44E0F19; Tue, 21 Nov 2017 15:00:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DD01CE0F19 for ; Tue, 21 Nov 2017 15:00:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBB2833BF43 for ; Tue, 21 Nov 2017 15:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FA62A298 for ; Tue, 21 Nov 2017 15:00:19 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1511276408.3a4ccb251df768eb8d9ab440ebf220c22a8556af.grknight@gentoo> Subject: [gentoo-commits] proj/mysql-extras:master commit in: / X-VCS-Repository: proj/mysql-extras X-VCS-Files: 20028_all_mysql-5.6-gcc7.patch X-VCS-Directories: / X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 3a4ccb251df768eb8d9ab440ebf220c22a8556af X-VCS-Branch: master Date: Tue, 21 Nov 2017 15:00:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a3cb1629-3812-4db1-b68a-05519479538c X-Archives-Hash: b29c69f32aa6c0d09ee192c3f6ec5e4d commit: 3a4ccb251df768eb8d9ab440ebf220c22a8556af Author: Brian Evans gentoo org> AuthorDate: Tue Nov 21 15:00:08 2017 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Nov 21 15:00:08 2017 +0000 URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=3a4ccb25 Add gcc 7 compilation patch for MySQL 5.6 20028_all_mysql-5.6-gcc7.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/20028_all_mysql-5.6-gcc7.patch b/20028_all_mysql-5.6-gcc7.patch new file mode 100644 index 0000000..cf8caed --- /dev/null +++ b/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");