diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-06-19 12:07:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-06-19 12:07:50 +0000 |
commit | ff3b81ee74b8a6cd5cec530bc19f5cc40fd234c8 (patch) | |
tree | 8a3d8d4ed150de5113331dc944f4027ff30d0365 /databases | |
parent | dbdef16469e77f83dffdc884e94b7db215f06dd8 (diff) | |
download | pkgsrc-ff3b81ee74b8a6cd5cec530bc19f5cc40fd234c8.tar.gz |
Change patch to use upstream 5.6+ change, fixes segfault reported by mark.
Bump PKGREVISION.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysql55-client/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql55-client/distinfo | 4 | ||||
-rw-r--r-- | databases/mysql55-client/patches/patch-client_mysql.cc | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile index 83ac5a4cef5..75212c1c63d 100644 --- a/databases/mysql55-client/Makefile +++ b/databases/mysql55-client/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.27 2016/08/04 10:09:46 adam Exp $ +# $NetBSD: Makefile,v 1.28 2017/06/19 12:07:50 jperkin Exp $ PKGNAME= ${DISTNAME:S/-/-client-/} +PKGREVISION= 1 COMMENT= MySQL 5, a free SQL database (client) CONFLICTS= mysql3-client-[0-9]* diff --git a/databases/mysql55-client/distinfo b/databases/mysql55-client/distinfo index d6866c2bc66..f3393241180 100644 --- a/databases/mysql55-client/distinfo +++ b/databases/mysql55-client/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.57 2017/05/24 15:28:25 jperkin Exp $ +$NetBSD: distinfo,v 1.58 2017/06/19 12:07:50 jperkin Exp $ SHA1 (mysql-5.5.56.tar.gz) = e8005b7612aa65bd11fc1e2f8bc11dad3f46ac39 RMD160 (mysql-5.5.56.tar.gz) = 9ef621da171dcbe020dbb3f685b39ce89f47c4bb @@ -11,7 +11,7 @@ Size (sphinx-2.2.11-release.tar.gz) = 3061998 bytes 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_mysql.cc) = 69e40248d654e385abee9272df093afc525971bc SHA1 (patch-client_mysqladmin.cc) = c640d3ca742dc1b200701d21d82d8f2093917cf2 SHA1 (patch-client_mysqlbinlog.cc) = e38abe026c10a07808ccd24b596cf13c5079e206 SHA1 (patch-client_mysqlshow.c) = a12b06241eee91d1ec11e3b7e4f3125aa6c79905 diff --git a/databases/mysql55-client/patches/patch-client_mysql.cc b/databases/mysql55-client/patches/patch-client_mysql.cc index 8d8707573eb..3d239844a1e 100644 --- a/databases/mysql55-client/patches/patch-client_mysql.cc +++ b/databases/mysql55-client/patches/patch-client_mysql.cc @@ -1,6 +1,6 @@ -$NetBSD: patch-client_mysql.cc,v 1.1 2017/05/24 15:28:25 jperkin Exp $ +$NetBSD: patch-client_mysql.cc,v 1.2 2017/06/19 12:07:50 jperkin Exp $ -Pointer fix. +Compilation warning fix from upstream. --- client/mysql.cc.orig 2017-04-27 07:12:30.000000000 +0000 +++ client/mysql.cc @@ -9,7 +9,7 @@ Pointer fix. break; } - field_names[i][num_fields*2]= '\0'; -+ *field_names[i][num_fields*2]= '\0'; ++ field_names[i][num_fields*2]= NULL; j=0; while ((sql_field=mysql_fetch_field(fields))) { |