pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql55-client Pointer fix, found by GCC 7.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a7195d7438fb
branches: trunk
changeset: 362753:a7195d7438fb
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed May 24 15:28:25 2017 +0000
description:
Pointer fix, found by GCC 7.1.
diffstat:
databases/mysql55-client/distinfo | 3 ++-
databases/mysql55-client/patches/patch-client_mysql.cc | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 6d1c6b2d6e31 -r a7195d7438fb databases/mysql55-client/distinfo
--- a/databases/mysql55-client/distinfo Wed May 24 15:19:12 2017 +0000
+++ b/databases/mysql55-client/distinfo Wed May 24 15:28:25 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2017/05/03 12:37:01 mef Exp $
+$NetBSD: distinfo,v 1.57 2017/05/24 15:28:25 jperkin Exp $
SHA1 (mysql-5.5.56.tar.gz) = e8005b7612aa65bd11fc1e2f8bc11dad3f46ac39
RMD160 (mysql-5.5.56.tar.gz) = 9ef621da171dcbe020dbb3f685b39ce89f47c4bb
@@ -11,6 +11,7 @@
SHA1 (patch-BUILD_compile-pentium-gcov) = a1ac666efa953a98455a726e5db359c903d699b6
SHA1 (patch-CMakeLists.txt) = 2040dc4904270327c9d64178a3d889ebde2ec5d5
SHA1 (patch-client_completion_hash.cc) = e27fd7072a8206380f0a932b1a31d2843c985cbf
+SHA1 (patch-client_mysql.cc) = 36ebfa1f3e5356bb7472be5c0be87198d138729f
SHA1 (patch-client_mysqladmin.cc) = c640d3ca742dc1b200701d21d82d8f2093917cf2
SHA1 (patch-client_mysqlbinlog.cc) = e38abe026c10a07808ccd24b596cf13c5079e206
SHA1 (patch-client_mysqlshow.c) = a12b06241eee91d1ec11e3b7e4f3125aa6c79905
diff -r 6d1c6b2d6e31 -r a7195d7438fb databases/mysql55-client/patches/patch-client_mysql.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql55-client/patches/patch-client_mysql.cc Wed May 24 15:28:25 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-client_mysql.cc,v 1.1 2017/05/24 15:28:25 jperkin Exp $
+
+Pointer fix.
+
+--- client/mysql.cc.orig 2017-04-27 07:12:30.000000000 +0000
++++ client/mysql.cc
+@@ -2666,7 +2666,7 @@ You can turn off this feature to get a q
+ mysql_free_result(fields);
+ break;
+ }
+- field_names[i][num_fields*2]= '\0';
++ *field_names[i][num_fields*2]= '\0';
+ j=0;
+ while ((sql_field=mysql_fetch_field(fields)))
+ {
Home |
Main Index |
Thread Index |
Old Index