pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/mysql55-client



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed May 24 15:28:25 UTC 2017

Modified Files:
        pkgsrc/databases/mysql55-client: distinfo
Added Files:
        pkgsrc/databases/mysql55-client/patches: patch-client_mysql.cc

Log Message:
Pointer fix, found by GCC 7.1.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/databases/mysql55-client/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/mysql55-client/patches/patch-client_mysql.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mysql55-client/distinfo
diff -u pkgsrc/databases/mysql55-client/distinfo:1.56 pkgsrc/databases/mysql55-client/distinfo:1.57
--- pkgsrc/databases/mysql55-client/distinfo:1.56       Wed May  3 12:37:01 2017
+++ pkgsrc/databases/mysql55-client/distinfo    Wed May 24 15:28:25 2017
@@ -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 @@ Size (sphinx-2.2.11-release.tar.gz) = 30
 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

Added files:

Index: pkgsrc/databases/mysql55-client/patches/patch-client_mysql.cc
diff -u /dev/null pkgsrc/databases/mysql55-client/patches/patch-client_mysql.cc:1.1
--- /dev/null   Wed May 24 15:28:25 2017
+++ pkgsrc/databases/mysql55-client/patches/patch-client_mysql.cc       Wed May 24 15:28:25 2017
@@ -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